Class CreateEsxiHostDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocvp.model.CreateEsxiHostDetails.Builder
 
- 
- Enclosing class:
- CreateEsxiHostDetails
 
 public static class CreateEsxiHostDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEsxiHostDetails.BuilderbillingDonorHostId(String billingDonorHostId)The OCID of the deleted ESXi Host with LeftOver billing cycle.CreateEsxiHostDetailsbuild()CreateEsxiHostDetails.BuildercapacityReservationId(String capacityReservationId)The OCID of the Capacity Reservation.CreateEsxiHostDetails.BuilderclusterId(String clusterId)The OCID of the Cluster to add the ESXi host to.CreateEsxiHostDetails.BuildercomputeAvailabilityDomain(String computeAvailabilityDomain)The availability domain to create the ESXi host in.CreateEsxiHostDetails.Buildercopy(CreateEsxiHostDetails model)CreateEsxiHostDetails.BuildercurrentCommitment(Commitment currentCommitment)The billing option currently used by the ESXi host.CreateEsxiHostDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateEsxiHostDetails.BuilderdisplayName(String displayName)A descriptive name for the ESXi host.CreateEsxiHostDetails.BuilderesxiSoftwareVersion(String esxiSoftwareVersion)The ESXi software bundle to install on the ESXi host.CreateEsxiHostDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateEsxiHostDetails.BuilderhostOcpuCount(Float hostOcpuCount)The OCPU count of the ESXi host.CreateEsxiHostDetails.BuilderhostShapeName(String hostShapeName)The compute shape name of the ESXi host.CreateEsxiHostDetails.BuildernextCommitment(Commitment nextCommitment)The billing option to switch to after the existing billing cycle ends.
 
- 
- 
- 
Method Detail- 
clusterIdpublic CreateEsxiHostDetails.Builder clusterId(String clusterId) The OCID of the Cluster to add the ESXi host to.- Parameters:
- clusterId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateEsxiHostDetails.Builder displayName(String displayName) A descriptive name for the ESXi host.It’s changeable. Esxi Host name requirements are 1-25 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the Cluster.
 If this attribute is not specified, the Cluster's instanceDisplayNamePrefix attribute is used to name and incrementally number the ESXi host. For example, if you're creating the fourth ESXi host in the Cluster, and instanceDisplayNamePrefix is MyCluster, the host's display name is MyCluster-4. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
billingDonorHostIdpublic CreateEsxiHostDetails.Builder billingDonorHostId(String billingDonorHostId) The OCID of the deleted ESXi Host with LeftOver billing cycle.- Parameters:
- billingDonorHostId- the value to set
- Returns:
- this builder
 
 - 
currentCommitmentpublic CreateEsxiHostDetails.Builder currentCommitment(Commitment currentCommitment) The billing option currently used by the ESXi host.listSupportedCommitments.- Parameters:
- currentCommitment- the value to set
- Returns:
- this builder
 
 - 
nextCommitmentpublic CreateEsxiHostDetails.Builder nextCommitment(Commitment nextCommitment) The billing option to switch to after the existing billing cycle ends.If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. listSupportedCommitments.- Parameters:
- nextCommitment- the value to set
- Returns:
- this builder
 
 - 
computeAvailabilityDomainpublic CreateEsxiHostDetails.Builder computeAvailabilityDomain(String computeAvailabilityDomain) The availability domain to create the ESXi host in.If keep empty, for AD-specific Cluster, new ESXi host will be created in the same availability domain; for multi-AD Cluster, new ESXi host will be auto assigned to the next availability domain following evenly distribution strategy. - Parameters:
- computeAvailabilityDomain- the value to set
- Returns:
- this builder
 
 - 
hostShapeNamepublic CreateEsxiHostDetails.Builder hostShapeName(String hostShapeName) The compute shape name of the ESXi host.listSupportedHostShapes.- Parameters:
- hostShapeName- the value to set
- Returns:
- this builder
 
 - 
hostOcpuCountpublic CreateEsxiHostDetails.Builder hostOcpuCount(Float hostOcpuCount) The OCPU count of the ESXi host.- Parameters:
- hostOcpuCount- the value to set
- Returns:
- this builder
 
 - 
capacityReservationIdpublic CreateEsxiHostDetails.Builder capacityReservationId(String capacityReservationId) The OCID of the Capacity Reservation.- Parameters:
- capacityReservationId- the value to set
- Returns:
- this builder
 
 - 
esxiSoftwareVersionpublic CreateEsxiHostDetails.Builder esxiSoftwareVersion(String esxiSoftwareVersion) The ESXi software bundle to install on the ESXi host.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 CreateEsxiHostDetails.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 CreateEsxiHostDetails.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 CreateEsxiHostDetails build() 
 - 
copypublic CreateEsxiHostDetails.Builder copy(CreateEsxiHostDetails model) 
 
- 
 
-