Package com.oracle.bmc.ocvp.model
Class DatastoreCluster.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocvp.model.DatastoreCluster.Builder
 
- 
- Enclosing class:
- DatastoreCluster
 
 public static class DatastoreCluster.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastoreCluster.BuilderavailabilityDomain(String availabilityDomain)The availability domain of the Datastore Cluster.DatastoreClusterbuild()DatastoreCluster.BuildercapacityInGBs(Double capacityInGBs)Total size of all datastores associated with the datastore cluster in GB.DatastoreCluster.BuilderclusterId(String clusterId)The OCID of the VMware Cluster that Datastore cluster is attached to.DatastoreCluster.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Datastore.DatastoreCluster.Buildercopy(DatastoreCluster model)DatastoreCluster.BuilderdatastoreClusterType(DatastoreClusterTypes datastoreClusterType)Type of the datastore cluster.DatastoreCluster.BuilderdatastoreIds(List<String> datastoreIds)The OCIDs of the Datastores that belong to the Datastore ClusterDatastoreCluster.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DatastoreCluster.BuilderdisplayName(String displayName)A descriptive name for the Datastore Cluster.DatastoreCluster.BuilderesxiHostIds(List<String> esxiHostIds)The OCIDs of the ESXi hosts to attach the datastore to.DatastoreCluster.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DatastoreCluster.Builderid(String id)The OCID of the Datastore cluster.DatastoreCluster.BuilderlifecycleState(LifecycleStates lifecycleState)The current state of the Datastore Cluster.DatastoreCluster.BuildersddcId(String sddcId)The OCID of the SDDC that Datastore cluster is associated with.DatastoreCluster.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DatastoreCluster.BuildertimeCreated(Date timeCreated)The date and time the Datastore Cluster was created, in the format defined by RFC3339.DatastoreCluster.BuildertimeUpdated(Date timeUpdated)The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic DatastoreCluster.Builder id(String id) The OCID of the Datastore cluster.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
datastoreIdspublic DatastoreCluster.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
 
 - 
clusterIdpublic DatastoreCluster.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
 
 - 
sddcIdpublic DatastoreCluster.Builder sddcId(String sddcId) The OCID of the SDDC that Datastore cluster is associated with.- Parameters:
- sddcId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DatastoreCluster.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the Datastore.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DatastoreCluster.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
 
 - 
esxiHostIdspublic DatastoreCluster.Builder esxiHostIds(List<String> esxiHostIds) The OCIDs of the ESXi hosts to attach the datastore to.All ESXi hosts must belong to the same VMware cluster. - Parameters:
- esxiHostIds- the value to set
- Returns:
- this builder
 
 - 
datastoreClusterTypepublic DatastoreCluster.Builder datastoreClusterType(DatastoreClusterTypes datastoreClusterType) Type of the datastore cluster.- Parameters:
- datastoreClusterType- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DatastoreCluster.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
 
 - 
timeUpdatedpublic DatastoreCluster.Builder timeUpdated(Date timeUpdated) The date and time the Datastore Cluster was updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DatastoreCluster.Builder lifecycleState(LifecycleStates lifecycleState) The current state of the Datastore Cluster.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic DatastoreCluster.Builder availabilityDomain(String availabilityDomain) The availability domain of the Datastore Cluster.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
capacityInGBspublic DatastoreCluster.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
 
 - 
freeformTagspublic DatastoreCluster.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
 
 - 
definedTagspublic DatastoreCluster.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
 
 - 
systemTagspublic DatastoreCluster.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
 
 - 
buildpublic DatastoreCluster build() 
 - 
copypublic DatastoreCluster.Builder copy(DatastoreCluster model) 
 
- 
 
-