public static final class ClusterConfig.Builder
extends java.lang.Object
ClusterConfig
.Constructor and Description |
---|
Builder(long numHosts)
Constructor with parameters for the required properties of
ClusterConfig . |
Modifier and Type | Method and Description |
---|---|
ClusterConfig |
build() |
ClusterConfig.Builder |
setAvailabilityZones(java.util.List<java.lang.String> availabilityZones)
Cluster hosts need to be provisioned on these availability zones.
|
ClusterConfig.Builder |
setHostCpuCoresCount(java.lang.Long hostCpuCoresCount)
Customize CPU cores on hosts in a cluster.
|
ClusterConfig.Builder |
setHostInstanceType(java.lang.String hostInstanceType)
Possible values are:
ClusterConfig.HOST_INSTANCE_TYPE_I3_METAL ClusterConfig.HOST_INSTANCE_TYPE_R5_METAL ClusterConfig.HOST_INSTANCE_TYPE_I3EN_METAL
ClusterConfig.HOST_INSTANCE_TYPE_I4I_METAL
The instance type for the esx hosts added to this cluster. |
ClusterConfig.Builder |
setMsftLicenseConfig(MsftLicensingConfig msftLicenseConfig)
The desired Microsoft license status to apply to this cluster.
|
ClusterConfig.Builder |
setStorageCapacity(java.lang.Long storageCapacity)
For EBS-backed instances only, the requested storage capacity in GiB.
|
public Builder(long numHosts)
ClusterConfig
.public ClusterConfig.Builder setHostCpuCoresCount(java.lang.Long hostCpuCoresCount)
hostCpuCoresCount
- New value for the property.public ClusterConfig.Builder setHostInstanceType(java.lang.String hostInstanceType)
hostInstanceType
- New value for the property.public ClusterConfig.Builder setStorageCapacity(java.lang.Long storageCapacity)
storageCapacity
- New value for the property.public ClusterConfig.Builder setAvailabilityZones(java.util.List<java.lang.String> availabilityZones)
availabilityZones
- New value for the property.public ClusterConfig.Builder setMsftLicenseConfig(MsftLicensingConfig msftLicenseConfig)
msftLicenseConfig
- New value for the property.public ClusterConfig build()