public static class CreateEsxiHostDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateEsxiHostDetails |
build() |
CreateEsxiHostDetails.Builder |
capacityReservationId(String capacityReservationId)
The OCID of the
Capacity Reservation.
|
CreateEsxiHostDetails.Builder |
computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain to create the ESXi host in.
|
CreateEsxiHostDetails.Builder |
copy(CreateEsxiHostDetails model) |
CreateEsxiHostDetails.Builder |
currentSku(Sku currentSku)
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 |
failedEsxiHostId(String failedEsxiHostId)
The OCID of the
ESXi host that is failed.
|
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 |
nextSku(Sku nextSku)
The billing option to switch to after the existing billing cycle ends.
|
CreateEsxiHostDetails.Builder |
nonUpgradedEsxiHostId(String nonUpgradedEsxiHostId)
The OCID of the
ESXi host that will be upgraded.
|
CreateEsxiHostDetails.Builder |
sddcId(String sddcId)
The OCID of the
SDDC to add the ESXi host to.
|
public CreateEsxiHostDetails.Builder sddcId(String sddcId)
The OCID of the SDDC to add the ESXi host to.
sddcId
- 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 SDDC'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 SDDC, and instanceDisplayNamePrefix
is
MySDDC
, the host's display name is MySDDC-4
.
Avoid entering confidential information.
displayName
- the value to setpublic CreateEsxiHostDetails.Builder currentSku(Sku currentSku)
The billing option currently used by the ESXi host. listSupportedSkus
.
currentSku
- the value to setpublic CreateEsxiHostDetails.Builder nextSku(Sku nextSku)
The billing option to switch to after the existing billing cycle ends. If nextSku
is null or empty, currentSku
continues to the next billing cycle. listSupportedSkus
.
nextSku
- the value to setpublic CreateEsxiHostDetails.Builder computeAvailabilityDomain(String computeAvailabilityDomain)
The availability domain to create the ESXi host in. If keep empty, for AD-specific SDDC, new ESXi host will be created in the same availability domain; for multi-AD SDDC, new ESXi host will be auto assigned to the next availability domain following evenly distribution strategy.
computeAvailabilityDomain
- the value to setpublic CreateEsxiHostDetails.Builder failedEsxiHostId(String failedEsxiHostId)
The OCID of the
ESXi host that is failed. This is an optional parameter. If this parameter is specified,
a new ESXi host will be created to replace the failed one, and the failedEsxiHostId
field will be updated in the newly created Esxi host.
failedEsxiHostId
- 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 nonUpgradedEsxiHostId(String nonUpgradedEsxiHostId)
The OCID of the
ESXi host that will be upgraded. This is an optional parameter. If this parameter is
specified, an ESXi host with the new software version is created to replace the original
one, and the nonUpgradedEsxiHostId
field is updated in the newly created Esxi
host. See Upgrading VMware
Software for more
information.
nonUpgradedEsxiHostId
- 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–2023. All rights reserved.