Class CreateCatalogItemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.CreateCatalogItemDetails.Builder
-
- Enclosing class:
- CreateCatalogItemDetails
public static class CreateCatalogItemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCatalogItemDetailsbuild()CreateCatalogItemDetails.BuildercatalogSourcePayload(CatalogSourcePayload catalogSourcePayload)CreateCatalogItemDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreateCatalogItemDetails.BuilderconfigSourceType(CatalogItem.ConfigSourceType configSourceType)Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.CreateCatalogItemDetails.Buildercopy(CreateCatalogItemDetails model)CreateCatalogItemDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateCatalogItemDetails.Builderdescription(String description)The description of the CatalogItem.CreateCatalogItemDetails.BuilderdisplayName(String displayName)The CatalogItem name.CreateCatalogItemDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateCatalogItemDetails.BuilderlistingId(String listingId)The catalog listing Id.CreateCatalogItemDetails.BuilderlistingVersion(String listingVersion)The catalog package version.CreateCatalogItemDetails.BuilderpackageType(CatalogItem.PackageType packageType)Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE.CreateCatalogItemDetails.BuildershortDescription(String shortDescription)Short description about the catalog item.CreateCatalogItemDetails.BuildertimeReleased(Date timeReleased)The date and time the CatalogItem was released, in the format defined by RFC 3339.CreateCatalogItemDetails.BuilderversionDescription(String versionDescription)Version description about the catalog item.
-
-
-
Method Detail
-
compartmentId
public CreateCatalogItemDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
configSourceType
public CreateCatalogItemDetails.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 CreateCatalogItemDetails.Builder description(String description)
The description of the CatalogItem.- Parameters:
description- the value to set- Returns:
- this builder
-
versionDescription
public CreateCatalogItemDetails.Builder versionDescription(String versionDescription)
Version description about the catalog item.- Parameters:
versionDescription- the value to set- Returns:
- this builder
-
shortDescription
public CreateCatalogItemDetails.Builder shortDescription(String shortDescription)
Short description about the catalog item.- Parameters:
shortDescription- the value to set- Returns:
- this builder
-
timeReleased
public CreateCatalogItemDetails.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
-
displayName
public CreateCatalogItemDetails.Builder displayName(String displayName)
The CatalogItem name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
catalogSourcePayload
public CreateCatalogItemDetails.Builder catalogSourcePayload(CatalogSourcePayload catalogSourcePayload)
-
listingId
public CreateCatalogItemDetails.Builder listingId(String listingId)
The catalog listing Id.- Parameters:
listingId- the value to set- Returns:
- this builder
-
listingVersion
public CreateCatalogItemDetails.Builder listingVersion(String listingVersion)
The catalog package version.- Parameters:
listingVersion- the value to set- Returns:
- this builder
-
packageType
public CreateCatalogItemDetails.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
-
freeformTags
public CreateCatalogItemDetails.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 CreateCatalogItemDetails.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
-
build
public CreateCatalogItemDetails build()
-
copy
public CreateCatalogItemDetails.Builder copy(CreateCatalogItemDetails model)
-
-