Class CreateClusterDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocvp.model.CreateClusterDetails.Builder
 
- 
- Enclosing class:
- CreateClusterDetails
 
 public static class CreateClusterDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateClusterDetailsbuild()CreateClusterDetails.BuildercapacityReservationId(String capacityReservationId)The OCID of the Capacity Reservation.CreateClusterDetails.BuildercomputeAvailabilityDomain(String computeAvailabilityDomain)The availability domain to create the Cluster’s ESXi hosts in.CreateClusterDetails.Buildercopy(CreateClusterDetails model)CreateClusterDetails.BuilderdatastoreClusterIds(List<String> datastoreClusterIds)A list of datastore clusters.CreateClusterDetails.Builderdatastores(List<DatastoreInfo> datastores)A list of datastore info for the Cluster.CreateClusterDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateClusterDetails.BuilderdisplayName(String displayName)A descriptive name for the Cluster.CreateClusterDetails.BuilderesxiHostsCount(Integer esxiHostsCount)The number of ESXi hosts to create in the Cluster.CreateClusterDetails.BuilderesxiSoftwareVersion(String esxiSoftwareVersion)The ESXi software bundle to install on the ESXi hosts in the Cluster.CreateClusterDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateClusterDetails.BuilderinitialCommitment(Commitment initialCommitment)The billing option selected during Cluster creation.CreateClusterDetails.BuilderinitialHostOcpuCount(Float initialHostOcpuCount)The initial OCPU count of the Cluster’s ESXi hosts.CreateClusterDetails.BuilderinitialHostShapeName(String initialHostShapeName)The initial compute shape of the Cluster’s ESXi hosts.CreateClusterDetails.BuilderinstanceDisplayNamePrefix(String instanceDisplayNamePrefix)A prefix used in the name of each ESXi host and Compute instance in the Cluster.CreateClusterDetails.BuilderisShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled)Indicates whether shielded instance is enabled for this Cluster.CreateClusterDetails.BuildernetworkConfiguration(NetworkConfiguration networkConfiguration)CreateClusterDetails.BuildersddcId(String sddcId)The OCID of the SDDC that the Cluster belongs to.CreateClusterDetails.BuildervmwareSoftwareVersion(String vmwareSoftwareVersion)The VMware software bundle to install on the ESXi hosts in the Cluster.CreateClusterDetails.BuilderworkloadNetworkCidr(String workloadNetworkCidr)The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application workloads.
 
- 
- 
- 
Method Detail- 
sddcIdpublic CreateClusterDetails.Builder sddcId(String sddcId) The OCID of the SDDC that the Cluster belongs to.- Parameters:
- sddcId- the value to set
- Returns:
- this builder
 
 - 
computeAvailabilityDomainpublic CreateClusterDetails.Builder computeAvailabilityDomain(String computeAvailabilityDomain) The availability domain to create the Cluster’s ESXi hosts in.For multi-AD Cluster deployment, set to multi-AD. - Parameters:
- computeAvailabilityDomain- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateClusterDetails.Builder displayName(String displayName) A descriptive name for the Cluster.Cluster name requirements are 1-22 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the region. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
instanceDisplayNamePrefixpublic CreateClusterDetails.Builder instanceDisplayNamePrefix(String instanceDisplayNamePrefix) A prefix used in the name of each ESXi host and Compute instance in the Cluster.If this isn’t set, the Cluster’s displayName is used as the prefix. For example, if the value is myCluster, the ESXi hosts are named myCluster-1, myCluster-2, and so on. - Parameters:
- instanceDisplayNamePrefix- the value to set
- Returns:
- this builder
 
 - 
esxiHostsCountpublic CreateClusterDetails.Builder esxiHostsCount(Integer esxiHostsCount) The number of ESXi hosts to create in the Cluster.You can add more hosts later (see createEsxiHost).*Note:** If you later delete EXSi hosts from a production Cluster to make SDDC total host count less than 3, you are still billed for the 3 minimum recommended ESXi hosts. Also, you cannot add more VMware workloads to the Cluster until the SDDC again has at least 3 ESXi hosts. - Parameters:
- esxiHostsCount- the value to set
- Returns:
- this builder
 
 - 
networkConfigurationpublic CreateClusterDetails.Builder networkConfiguration(NetworkConfiguration networkConfiguration) 
 - 
initialCommitmentpublic CreateClusterDetails.Builder initialCommitment(Commitment initialCommitment) The billing option selected during Cluster creation.listSupportedCommitments.- Parameters:
- initialCommitment- the value to set
- Returns:
- this builder
 
 - 
workloadNetworkCidrpublic CreateClusterDetails.Builder workloadNetworkCidr(String workloadNetworkCidr) The CIDR block for the IP addresses that VMware VMs in the Cluster use to run application workloads.- Parameters:
- workloadNetworkCidr- the value to set
- Returns:
- this builder
 
 - 
initialHostShapeNamepublic CreateClusterDetails.Builder initialHostShapeName(String initialHostShapeName) The initial compute shape of the Cluster’s ESXi hosts.listSupportedHostShapes.- Parameters:
- initialHostShapeName- the value to set
- Returns:
- this builder
 
 - 
initialHostOcpuCountpublic CreateClusterDetails.Builder initialHostOcpuCount(Float initialHostOcpuCount) The initial OCPU count of the Cluster’s ESXi hosts.- Parameters:
- initialHostOcpuCount- the value to set
- Returns:
- this builder
 
 - 
isShieldedInstanceEnabledpublic CreateClusterDetails.Builder isShieldedInstanceEnabled(Boolean isShieldedInstanceEnabled) Indicates whether shielded instance is enabled for this Cluster.- Parameters:
- isShieldedInstanceEnabled- the value to set
- Returns:
- this builder
 
 - 
capacityReservationIdpublic CreateClusterDetails.Builder capacityReservationId(String capacityReservationId) The OCID of the Capacity Reservation.- Parameters:
- capacityReservationId- the value to set
- Returns:
- this builder
 
 - 
datastorespublic CreateClusterDetails.Builder datastores(List<DatastoreInfo> datastores) A list of datastore info for the Cluster.This value is required only when initialHostShapeName is a standard shape. - Parameters:
- datastores- the value to set
- Returns:
- this builder
 
 - 
datastoreClusterIdspublic CreateClusterDetails.Builder datastoreClusterIds(List<String> datastoreClusterIds) A list of datastore clusters.- Parameters:
- datastoreClusterIds- the value to set
- Returns:
- this builder
 
 - 
vmwareSoftwareVersionpublic CreateClusterDetails.Builder vmwareSoftwareVersion(String vmwareSoftwareVersion) The VMware software bundle to install on the ESXi hosts in the Cluster.To get a list of the available versions, use listSupportedVmwareSoftwareVersions.- Parameters:
- vmwareSoftwareVersion- the value to set
- Returns:
- this builder
 
 - 
esxiSoftwareVersionpublic CreateClusterDetails.Builder esxiSoftwareVersion(String esxiSoftwareVersion) The ESXi software bundle to install on the ESXi hosts in the Cluster.Only versions under the same vmwareSoftwareVersion and have been validate by Oracle Cloud VMware Solution will be accepted. To get a list of the available versions, use listSupportedVmwareSoftwareVersions.- Parameters:
- esxiSoftwareVersion- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateClusterDetails.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 CreateClusterDetails.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
 
 - 
buildpublic CreateClusterDetails build() 
 - 
copypublic CreateClusterDetails.Builder copy(CreateClusterDetails model) 
 
- 
 
-