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 OccAvailabilityCatalog
build()
OccAvailabilityCatalog.Builder
catalogState(OccAvailabilityCatalog.CatalogState catalogState)
The different states associated with the availability catalog.OccAvailabilityCatalog.Builder
compartmentId(String compartmentId)
The OCID of the tenancy where the availability catalog resides.OccAvailabilityCatalog.Builder
copy(OccAvailabilityCatalog model)
OccAvailabilityCatalog.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OccAvailabilityCatalog.Builder
description(String description)
Text information about the availability catalog.OccAvailabilityCatalog.Builder
details(List<OccAvailabilitySummary> details)
Details about capacity available for different resources in catalog.OccAvailabilityCatalog.Builder
displayName(String displayName)
A user-friendly name for the availability catalog.OccAvailabilityCatalog.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OccAvailabilityCatalog.Builder
id(String id)
The OCID of the availability catalog.OccAvailabilityCatalog.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.OccAvailabilityCatalog.Builder
lifecycleState(OccAvailabilityCatalog.LifecycleState lifecycleState)
The current lifecycle state of the resource.OccAvailabilityCatalog.Builder
metadataDetails(MetadataDetails metadataDetails)
OccAvailabilityCatalog.Builder
namespace(Namespace namespace)
The name of the OCI service in consideration.OccAvailabilityCatalog.Builder
occCustomerGroupId(String occCustomerGroupId)
The customer group OCID to which the availability catalog belongs.OccAvailabilityCatalog.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.OccAvailabilityCatalog.Builder
timeCreated(Date timeCreated)
The time when the availability catalog was created.OccAvailabilityCatalog.Builder
timeUpdated(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)
-
-