Package com.oracle.bmc.ocvp.model
Class DatastoreClusterSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.DatastoreClusterSummary.Builder
-
- Enclosing class:
- DatastoreClusterSummary
public static class DatastoreClusterSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastoreClusterSummary.Builder
availabilityDomain(String availabilityDomain)
The availability domain of the Datastore Cluster.DatastoreClusterSummary
build()
DatastoreClusterSummary.Builder
capacityInGBs(Double capacityInGBs)
Total size of all datastores associated with the datastore cluster in GB.DatastoreClusterSummary.Builder
clusterId(String clusterId)
The OCID of the VMware Cluster that Datastore Cluster is attached to.DatastoreClusterSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the Datastore Cluster.DatastoreClusterSummary.Builder
copy(DatastoreClusterSummary model)
DatastoreClusterSummary.Builder
datastoreClusterType(DatastoreClusterTypes datastoreClusterType)
Type of the datastore cluster.DatastoreClusterSummary.Builder
datastoreIds(List<String> datastoreIds)
The OCIDs of the Datastores that belong to the Datastore ClusterDatastoreClusterSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DatastoreClusterSummary.Builder
displayName(String displayName)
A descriptive name for the Datastore Cluster.DatastoreClusterSummary.Builder
esxiHostIds(List<String> esxiHostIds)
The OCIDs of the ESXi hosts attached to Datastore Cluster.DatastoreClusterSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.DatastoreClusterSummary.Builder
id(String id)
The OCID of the Datastore.DatastoreClusterSummary.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of the Datastore Cluster.DatastoreClusterSummary.Builder
sddcId(String sddcId)
The OCID of the SDDC that Datastore Cluster is associated with.DatastoreClusterSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DatastoreClusterSummary.Builder
timeCreated(Date timeCreated)
The date and time the Datastore Cluster was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public DatastoreClusterSummary.Builder id(String id)
The OCID of the Datastore.- Parameters:
id
- the value to set- Returns:
- this builder
-
datastoreIds
public DatastoreClusterSummary.Builder datastoreIds(List<String> datastoreIds)
The OCIDs of the Datastores that belong to the Datastore Cluster- Parameters:
datastoreIds
- the value to set- Returns:
- this builder
-
compartmentId
public DatastoreClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Datastore Cluster.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public DatastoreClusterSummary.Builder displayName(String displayName)
A descriptive name for the Datastore Cluster.It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
clusterId
public DatastoreClusterSummary.Builder clusterId(String clusterId)
The OCID of the VMware Cluster that Datastore Cluster is attached to.- Parameters:
clusterId
- the value to set- Returns:
- this builder
-
sddcId
public DatastoreClusterSummary.Builder sddcId(String sddcId)
The OCID of the SDDC that Datastore Cluster is associated with.- Parameters:
sddcId
- the value to set- Returns:
- this builder
-
esxiHostIds
public DatastoreClusterSummary.Builder esxiHostIds(List<String> esxiHostIds)
The OCIDs of the ESXi hosts attached to Datastore Cluster.- Parameters:
esxiHostIds
- the value to set- Returns:
- this builder
-
datastoreClusterType
public DatastoreClusterSummary.Builder datastoreClusterType(DatastoreClusterTypes datastoreClusterType)
Type of the datastore cluster.- Parameters:
datastoreClusterType
- the value to set- Returns:
- this builder
-
timeCreated
public DatastoreClusterSummary.Builder timeCreated(Date timeCreated)
The date and time the Datastore Cluster was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public DatastoreClusterSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Datastore Cluster.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
availabilityDomain
public DatastoreClusterSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain of the Datastore Cluster.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
capacityInGBs
public DatastoreClusterSummary.Builder capacityInGBs(Double capacityInGBs)
Total size of all datastores associated with the datastore cluster in GB.- Parameters:
capacityInGBs
- the value to set- Returns:
- this builder
-
freeformTags
public DatastoreClusterSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public DatastoreClusterSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public DatastoreClusterSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DatastoreClusterSummary build()
-
copy
public DatastoreClusterSummary.Builder copy(DatastoreClusterSummary model)
-
-