public static final class InstanceTypeConfig.Builder
extends java.lang.Object
InstanceTypeConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
InstanceTypeConfig . |
Modifier and Type | Method and Description |
---|---|
InstanceTypeConfig |
build() |
InstanceTypeConfig.Builder |
setCpuCores(java.util.List<java.lang.Long> cpuCores)
Array of valid cpu cores values for the given instance type.
|
InstanceTypeConfig.Builder |
setDescription(java.lang.String description)
Description of the instance_type.
|
InstanceTypeConfig.Builder |
setDisplayName(java.lang.String displayName)
Display name of instance_type.
|
InstanceTypeConfig.Builder |
setEntityCapacity(EntityCapacity entityCapacity)
The capacity of the given instance type.
|
InstanceTypeConfig.Builder |
setHosts(java.util.List<java.lang.Long> hosts)
Array of number of hosts allowed for this operation.
|
InstanceTypeConfig.Builder |
setHyperThreadingSupported(java.lang.Boolean hyperThreadingSupported)
Boolean to indicate whether hyperThreading is supported for an instance type.
|
InstanceTypeConfig.Builder |
setInstanceProvisioningErrorCause(java.lang.String instanceProvisioningErrorCause)
Error due to which instance provisioning is restricted on the cluster.
|
InstanceTypeConfig.Builder |
setInstanceType(java.lang.String instanceType)
Instance type name.
|
InstanceTypeConfig.Builder |
setLabel(java.lang.String label)
Label for instance_type.
|
InstanceTypeConfig.Builder |
setSupportedCpuCores(java.util.Map<java.lang.String,java.util.List<java.lang.Long>> supportedCpuCores)
Map of host count vs valid cpu core values for the given instance type.
|
InstanceTypeConfig.Builder |
setVsanEsaSupported(java.lang.Boolean vsanEsaSupported)
Boolean to indicate whether clusters and SDDCs using this instance type support
vSAN ESA.
|
public Builder()
InstanceTypeConfig
.public InstanceTypeConfig.Builder setVsanEsaSupported(java.lang.Boolean vsanEsaSupported)
vsanEsaSupported
- New value for the property.public InstanceTypeConfig.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public InstanceTypeConfig.Builder setDescription(java.lang.String description)
description
- New value for the property.public InstanceTypeConfig.Builder setInstanceType(java.lang.String instanceType)
instanceType
- New value for the property.public InstanceTypeConfig.Builder setEntityCapacity(EntityCapacity entityCapacity)
entityCapacity
- New value for the property.public InstanceTypeConfig.Builder setLabel(java.lang.String label)
label
- New value for the property.public InstanceTypeConfig.Builder setInstanceProvisioningErrorCause(java.lang.String instanceProvisioningErrorCause)
instanceProvisioningErrorCause
- New value for the property.public InstanceTypeConfig.Builder setSupportedCpuCores(java.util.Map<java.lang.String,java.util.List<java.lang.Long>> supportedCpuCores)
supportedCpuCores
- New value for the property.public InstanceTypeConfig.Builder setHosts(java.util.List<java.lang.Long> hosts)
hosts
- New value for the property.public InstanceTypeConfig.Builder setCpuCores(java.util.List<java.lang.Long> cpuCores)
cpuCores
- New value for the property.public InstanceTypeConfig.Builder setHyperThreadingSupported(java.lang.Boolean hyperThreadingSupported)
hyperThreadingSupported
- New value for the property.public InstanceTypeConfig build()