Class CatalogItemSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.CatalogItemSummary.Builder
-
- Enclosing class:
- CatalogItemSummary
public static class CatalogItemSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogItemSummary
build()
CatalogItemSummary.Builder
catalogResultPayload(CatalogResultPayload catalogResultPayload)
CatalogItemSummary.Builder
catalogSourcePayload(CatalogSourcePayload catalogSourcePayload)
CatalogItemSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CatalogItemSummary.Builder
configSourceType(CatalogItem.ConfigSourceType configSourceType)
Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.CatalogItemSummary.Builder
copy(CatalogItemSummary model)
CatalogItemSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CatalogItemSummary.Builder
description(String description)
The description of the catalogItem.CatalogItemSummary.Builder
displayName(String displayName)
A user-friendly name.CatalogItemSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CatalogItemSummary.Builder
id(String id)
The OCID of the catalog.CatalogItemSummary.Builder
lifecycleDetails(String lifecycleDetails)
The details of lifecycle state CatalogItem.CatalogItemSummary.Builder
lifecycleState(CatalogItem.LifecycleState lifecycleState)
The current state of the CatalogItem.CatalogItemSummary.Builder
listingId(String listingId)
The catalog listing Id.CatalogItemSummary.Builder
listingVersion(String listingVersion)
The catalog package version.CatalogItemSummary.Builder
packageType(CatalogItem.PackageType packageType)
Config package type Eg: BASE_PACKAGE, EXTENSION_PACKAGE.CatalogItemSummary.Builder
shortDescription(String shortDescription)
Short description about the catalog item.CatalogItemSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CatalogItemSummary.Builder
timeCreated(Date timeCreated)
The date and time the CatalogItem was created, in the format defined by RFC 3339.CatalogItemSummary.Builder
timeReleased(Date timeReleased)
The date and time the CatalogItem was released, in the format defined by RFC 3339.CatalogItemSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the CatalogItem was updated, in the format defined by RFC 3339.CatalogItemSummary.Builder
versionDescription(String versionDescription)
Version description about the catalog item.
-
-
-
Method Detail
-
id
public CatalogItemSummary.Builder id(String id)
The OCID of the catalog.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public CatalogItemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
configSourceType
public CatalogItemSummary.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
-
description
public CatalogItemSummary.Builder description(String description)
The description of the catalogItem.- Parameters:
description
- the value to set- Returns:
- this builder
-
catalogSourcePayload
public CatalogItemSummary.Builder catalogSourcePayload(CatalogSourcePayload catalogSourcePayload)
-
catalogResultPayload
public CatalogItemSummary.Builder catalogResultPayload(CatalogResultPayload catalogResultPayload)
-
listingId
public CatalogItemSummary.Builder listingId(String listingId)
The catalog listing Id.- Parameters:
listingId
- the value to set- Returns:
- this builder
-
listingVersion
public CatalogItemSummary.Builder listingVersion(String listingVersion)
The catalog package version.- Parameters:
listingVersion
- the value to set- Returns:
- this builder
-
displayName
public CatalogItemSummary.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
-
packageType
public CatalogItemSummary.Builder packageType(CatalogItem.PackageType packageType)
Config package type Eg: BASE_PACKAGE, EXTENSION_PACKAGE.- Parameters:
packageType
- the value to set- Returns:
- this builder
-
lifecycleState
public CatalogItemSummary.Builder lifecycleState(CatalogItem.LifecycleState lifecycleState)
The current state of the CatalogItem.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public CatalogItemSummary.Builder lifecycleDetails(String lifecycleDetails)
The details of lifecycle state CatalogItem.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public CatalogItemSummary.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 CatalogItemSummary.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
-
versionDescription
public CatalogItemSummary.Builder versionDescription(String versionDescription)
Version description about the catalog item.- Parameters:
versionDescription
- the value to set- Returns:
- this builder
-
shortDescription
public CatalogItemSummary.Builder shortDescription(String shortDescription)
Short description about the catalog item.- Parameters:
shortDescription
- the value to set- Returns:
- this builder
-
timeReleased
public CatalogItemSummary.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
-
freeformTags
public CatalogItemSummary.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 CatalogItemSummary.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 CatalogItemSummary.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 CatalogItemSummary build()
-
copy
public CatalogItemSummary.Builder copy(CatalogItemSummary model)
-
-