public static class CreateEsxiHostDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateEsxiHostDetails.Builder |
billingDonorHostId(String billingDonorHostId)
The OCID of the
deleted ESXi Host with LeftOver billing cycle.
|
CreateEsxiHostDetails |
build() |
CreateEsxiHostDetails.Builder |
capacityReservationId(String capacityReservationId)
The OCID of the
Capacity Reservation.
|
CreateEsxiHostDetails.Builder |
clusterId(String clusterId)
The OCID of the
Cluster to add the ESXi host to.
|
CreateEsxiHostDetails.Builder |
computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain to create the ESXi host in.
|
CreateEsxiHostDetails.Builder |
copy(CreateEsxiHostDetails model) |
CreateEsxiHostDetails.Builder |
currentCommitment(Commitment currentCommitment)
The billing option currently used by the ESXi host.
|
CreateEsxiHostDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateEsxiHostDetails.Builder |
displayName(String displayName)
A descriptive name for the ESXi host.
|
CreateEsxiHostDetails.Builder |
esxiSoftwareVersion(String esxiSoftwareVersion)
The ESXi software bundle to install on the ESXi host.
|
CreateEsxiHostDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateEsxiHostDetails.Builder |
hostOcpuCount(Float hostOcpuCount)
The OCPU count of the ESXi host.
|
CreateEsxiHostDetails.Builder |
hostShapeName(String hostShapeName)
The compute shape name of the ESXi host.
|
CreateEsxiHostDetails.Builder |
nextCommitment(Commitment nextCommitment)
The billing option to switch to after the existing billing cycle ends.
|
public CreateEsxiHostDetails.Builder clusterId(String clusterId)
The OCID of the Cluster to add the ESXi host to.
clusterId
- the value to setpublic CreateEsxiHostDetails.Builder displayName(String displayName)
A descriptive name for the ESXi host. It’s changeable. Esxi Host name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers,
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.
displayName
- the value to setpublic CreateEsxiHostDetails.Builder billingDonorHostId(String billingDonorHostId)
The OCID of the deleted ESXi Host with LeftOver billing cycle.
billingDonorHostId
- the value to setpublic CreateEsxiHostDetails.Builder currentCommitment(Commitment currentCommitment)
The billing option currently used by the ESXi host. listSupportedCommitments
.
currentCommitment
- the value to setpublic 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
.
nextCommitment
- the value to setpublic 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.
computeAvailabilityDomain
- the value to setpublic CreateEsxiHostDetails.Builder hostShapeName(String hostShapeName)
The compute shape name of the ESXi host. listSupportedHostShapes
.
hostShapeName
- the value to setpublic CreateEsxiHostDetails.Builder hostOcpuCount(Float hostOcpuCount)
The OCPU count of the ESXi host.
hostOcpuCount
- the value to setpublic CreateEsxiHostDetails.Builder capacityReservationId(String capacityReservationId)
The OCID of the Capacity Reservation.
capacityReservationId
- the value to setpublic 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
.
esxiSoftwareVersion
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateEsxiHostDetails build()
public CreateEsxiHostDetails.Builder copy(CreateEsxiHostDetails model)
Copyright © 2016–2024. All rights reserved.