| Constructor and Description |
|---|
Builder(long numHosts)
Constructor with parameters for the required properties of
EsxConfig. |
| Modifier and Type | Method and Description |
|---|---|
EsxConfig |
build() |
EsxConfig.Builder |
setAvailabilityZone(java.lang.String availabilityZone)
Availability zone where the hosts should be provisioned.
|
EsxConfig.Builder |
setClusterId(java.lang.String clusterId)
An optional cluster id if the esxs operation has to be on a specific cluster.
|
EsxConfig.Builder |
setEsxs(java.util.List<java.lang.String> esxs)
An optional list of ESX IDs to remove.
|
EsxConfig.Builder |
setStrictPlacement(java.lang.Boolean strictPlacement)
An option to indicate if the host needs to be strictly placed in a placement
group.
|
public Builder(long numHosts)
EsxConfig.public EsxConfig.Builder setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - New value for the property.public EsxConfig.Builder setStrictPlacement(java.lang.Boolean strictPlacement)
strictPlacement - New value for the property.public EsxConfig.Builder setClusterId(java.lang.String clusterId)
clusterId - New value for the property.public EsxConfig.Builder setEsxs(java.util.List<java.lang.String> esxs)
esxs - New value for the property.public EsxConfig build()