Class CatalogItem.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.CatalogItem.Builder
-
- Enclosing class:
- CatalogItem
public static class CatalogItem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogItem
build()
CatalogItem.Builder
catalogResultPayload(CatalogResultPayload catalogResultPayload)
CatalogItem.Builder
catalogSourcePayload(CatalogSourcePayload catalogSourcePayload)
CatalogItem.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CatalogItem.Builder
configSourceType(CatalogItem.ConfigSourceType configSourceType)
Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.CatalogItem.Builder
copy(CatalogItem model)
CatalogItem.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CatalogItem.Builder
description(String description)
Description about the catalog item.CatalogItem.Builder
displayName(String displayName)
A user-friendly name.CatalogItem.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CatalogItem.Builder
id(String id)
The OCID of the catalog.CatalogItem.Builder
lifecycleDetails(String lifecycleDetails)
The details of lifecycle state CatalogItem.CatalogItem.Builder
lifecycleState(CatalogItem.LifecycleState lifecycleState)
The current state of the CatalogItem.CatalogItem.Builder
listingId(String listingId)
The catalog listing Id.CatalogItem.Builder
listingVersion(String listingVersion)
The catalog package version.CatalogItem.Builder
packageType(CatalogItem.PackageType packageType)
Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE.CatalogItem.Builder
shortDescription(String shortDescription)
Short description about the catalog item.CatalogItem.Builder
shouldListPublicItems(Boolean shouldListPublicItems)
The indicator to append Public Items from the root compartment to any query, when set to TRUE.CatalogItem.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CatalogItem.Builder
timeBackfillLastChecked(Date timeBackfillLastChecked)
The date and time the CatalogItem was last checked by backfill job, in the format defined by RFC 3339.CatalogItem.Builder
timeCreated(Date timeCreated)
The date and time the CatalogItem was created, in the format defined by RFC 3339.CatalogItem.Builder
timeLastChecked(Date timeLastChecked)
The date and time the CatalogItem was last checked, in the format defined by RFC 3339.CatalogItem.Builder
timeReleased(Date timeReleased)
The date and time the CatalogItem was released, in the format defined by RFC 3339.CatalogItem.Builder
timeUpdated(Date timeUpdated)
The date and time the CatalogItem was updated, in the format defined by RFC 3339.CatalogItem.Builder
versionDescription(String versionDescription)
Version description about the catalog item.
-
-
-
Method Detail
-
id
public CatalogItem.Builder id(String id)
The OCID of the catalog.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public CatalogItem.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
configSourceType
public CatalogItem.Builder configSourceType(CatalogItem.ConfigSourceType configSourceType)
Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.- Parameters:
configSourceType
- the value to set- Returns:
- this builder
-
shouldListPublicItems
public CatalogItem.Builder shouldListPublicItems(Boolean shouldListPublicItems)
The indicator to append Public Items from the root compartment to any query, when set to TRUE.- Parameters:
shouldListPublicItems
- the value to set- Returns:
- this builder
-
description
public CatalogItem.Builder description(String description)
Description about the catalog item.- Parameters:
description
- the value to set- Returns:
- this builder
-
catalogSourcePayload
public CatalogItem.Builder catalogSourcePayload(CatalogSourcePayload catalogSourcePayload)
-
catalogResultPayload
public CatalogItem.Builder catalogResultPayload(CatalogResultPayload catalogResultPayload)
-
listingId
public CatalogItem.Builder listingId(String listingId)
The catalog listing Id.- Parameters:
listingId
- the value to set- Returns:
- this builder
-
listingVersion
public CatalogItem.Builder listingVersion(String listingVersion)
The catalog package version.- Parameters:
listingVersion
- the value to set- Returns:
- this builder
-
displayName
public CatalogItem.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
versionDescription
public CatalogItem.Builder versionDescription(String versionDescription)
Version description about the catalog item.- Parameters:
versionDescription
- the value to set- Returns:
- this builder
-
shortDescription
public CatalogItem.Builder shortDescription(String shortDescription)
Short description about the catalog item.- Parameters:
shortDescription
- the value to set- Returns:
- this builder
-
packageType
public CatalogItem.Builder packageType(CatalogItem.PackageType packageType)
Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE.- Parameters:
packageType
- the value to set- Returns:
- this builder
-
lifecycleState
public CatalogItem.Builder lifecycleState(CatalogItem.LifecycleState lifecycleState)
The current state of the CatalogItem.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public CatalogItem.Builder lifecycleDetails(String lifecycleDetails)
The details of lifecycle state CatalogItem.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public CatalogItem.Builder timeCreated(Date timeCreated)
The date and time the CatalogItem was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public CatalogItem.Builder timeUpdated(Date timeUpdated)
The date and time the CatalogItem was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timeReleased
public CatalogItem.Builder timeReleased(Date timeReleased)
The date and time the CatalogItem was released, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeReleased
- the value to set- Returns:
- this builder
-
timeBackfillLastChecked
public CatalogItem.Builder timeBackfillLastChecked(Date timeBackfillLastChecked)
The date and time the CatalogItem was last checked by backfill job, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeBackfillLastChecked
- the value to set- Returns:
- this builder
-
timeLastChecked
public CatalogItem.Builder timeLastChecked(Date timeLastChecked)
The date and time the CatalogItem was last checked, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeLastChecked
- the value to set- Returns:
- this builder
-
freeformTags
public CatalogItem.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CatalogItem.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public CatalogItem.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public CatalogItem build()
-
copy
public CatalogItem.Builder copy(CatalogItem model)
-
-