Class OccAvailabilityCatalog.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccAvailabilityCatalog.Builder
-
- Enclosing class:
- OccAvailabilityCatalog
public static class OccAvailabilityCatalog.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccAvailabilityCatalogbuild()OccAvailabilityCatalog.BuildercatalogState(OccAvailabilityCatalog.CatalogState catalogState)The different states associated with the availability catalog.OccAvailabilityCatalog.BuildercompartmentId(String compartmentId)The OCID of the tenancy where the availability catalog resides.OccAvailabilityCatalog.Buildercopy(OccAvailabilityCatalog model)OccAvailabilityCatalog.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OccAvailabilityCatalog.Builderdescription(String description)Text information about the availability catalog.OccAvailabilityCatalog.Builderdetails(List<OccAvailabilitySummary> details)Details about capacity available for different resources in catalog.OccAvailabilityCatalog.BuilderdisplayName(String displayName)A user-friendly name for the availability catalog.OccAvailabilityCatalog.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OccAvailabilityCatalog.Builderid(String id)The OCID of the availability catalog.OccAvailabilityCatalog.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.OccAvailabilityCatalog.BuilderlifecycleState(OccAvailabilityCatalog.LifecycleState lifecycleState)The current lifecycle state of the resource.OccAvailabilityCatalog.BuildermetadataDetails(MetadataDetails metadataDetails)OccAvailabilityCatalog.Buildernamespace(Namespace namespace)The name of the OCI service in consideration.OccAvailabilityCatalog.BuilderoccCustomerGroupId(String occCustomerGroupId)The customer group OCID to which the availability catalog belongs.OccAvailabilityCatalog.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OccAvailabilityCatalog.BuildertimeCreated(Date timeCreated)The time when the availability catalog was created.OccAvailabilityCatalog.BuildertimeUpdated(Date timeUpdated)The time when the availability catalog was last updated.
-
-
-
Method Detail
-
id
public OccAvailabilityCatalog.Builder id(String id)
The OCID of the availability catalog.- Parameters:
id- the value to set- Returns:
- this builder
-
namespace
public OccAvailabilityCatalog.Builder namespace(Namespace namespace)
The name of the OCI service in consideration.For example, Compute, Exadata, and so on.
- Parameters:
namespace- the value to set- Returns:
- this builder
-
compartmentId
public OccAvailabilityCatalog.Builder compartmentId(String compartmentId)
The OCID of the tenancy where the availability catalog resides.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public OccAvailabilityCatalog.Builder displayName(String displayName)
A user-friendly name for the availability catalog.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public OccAvailabilityCatalog.Builder description(String description)
Text information about the availability catalog.- Parameters:
description- the value to set- Returns:
- this builder
-
occCustomerGroupId
public OccAvailabilityCatalog.Builder occCustomerGroupId(String occCustomerGroupId)
The customer group OCID to which the availability catalog belongs.- Parameters:
occCustomerGroupId- the value to set- Returns:
- this builder
-
catalogState
public OccAvailabilityCatalog.Builder catalogState(OccAvailabilityCatalog.CatalogState catalogState)
The different states associated with the availability catalog.- Parameters:
catalogState- the value to set- Returns:
- this builder
-
metadataDetails
public OccAvailabilityCatalog.Builder metadataDetails(MetadataDetails metadataDetails)
-
timeCreated
public OccAvailabilityCatalog.Builder timeCreated(Date timeCreated)
The time when the availability catalog was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public OccAvailabilityCatalog.Builder timeUpdated(Date timeUpdated)
The time when the availability catalog was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public OccAvailabilityCatalog.Builder lifecycleState(OccAvailabilityCatalog.LifecycleState lifecycleState)
The current lifecycle state of the resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public OccAvailabilityCatalog.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in a Failed State.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public OccAvailabilityCatalog.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 OccAvailabilityCatalog.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 OccAvailabilityCatalog.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
-
details
public OccAvailabilityCatalog.Builder details(List<OccAvailabilitySummary> details)
Details about capacity available for different resources in catalog.- Parameters:
details- the value to set- Returns:
- this builder
-
build
public OccAvailabilityCatalog build()
-
copy
public OccAvailabilityCatalog.Builder copy(OccAvailabilityCatalog model)
-
-