public static final class AwsEsxHost.Builder
extends java.lang.Object
AwsEsxHost
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AwsEsxHost . |
Modifier and Type | Method and Description |
---|---|
AwsEsxHost |
build() |
AwsEsxHost.Builder |
setAvailabilityZone(java.lang.String availabilityZone)
Availability zone where the host is provisioned.
|
AwsEsxHost.Builder |
setCapacityPool(java.lang.String capacityPool)
name of the selected capacity pool for the instance.
|
AwsEsxHost.Builder |
setCustomProperties(java.util.Map<java.lang.String,java.lang.String> customProperties) |
AwsEsxHost.Builder |
setDurableHostName(java.lang.String durableHostName) |
AwsEsxHost.Builder |
setEc2InstanceRunningStatusCount(java.lang.Long ec2InstanceRunningStatusCount)
the number of continuous times the host has been in an EC2 RUNNING state.
|
AwsEsxHost.Builder |
setEniList(java.util.List<EniInfo> eniList) |
AwsEsxHost.Builder |
setEsxId(java.lang.String esxId) |
AwsEsxHost.Builder |
setEsxNicInfo(EsxNicInfo esxNicInfo)
Nic info in the user data for each host.
|
AwsEsxHost.Builder |
setEsxState(java.lang.String esxState)
Possible values are:
EsxHost.ESX_STATE_DEPLOYING EsxHost.ESX_STATE_INITIALIZING EsxHost.ESX_STATE_PROVISIONED EsxHost.ESX_STATE_READY EsxHost.ESX_STATE_DELETING EsxHost.ESX_STATE_DELETED EsxHost.ESX_STATE_FAILED EsxHost.ESX_STATE_ADDING_TO_VCENTER EsxHost.ESX_STATE_DELETING_FROM_VCENTER EsxHost.ESX_STATE_PENDING_CLOUD_DELETION |
AwsEsxHost.Builder |
setHostname(java.lang.String hostname) |
AwsEsxHost.Builder |
setInstanceType(java.lang.String instanceType)
Backing cloud provider instance type for host.
|
AwsEsxHost.Builder |
setInternalPublicIpPool(java.util.List<SddcPublicIp> internalPublicIpPool) |
AwsEsxHost.Builder |
setMacAddress(java.lang.String macAddress) |
AwsEsxHost.Builder |
setName(java.lang.String name) |
AwsEsxHost.Builder |
setPartitionNumber(java.lang.Long partitionNumber)
Partition number alloted to host.
|
AwsEsxHost.Builder |
setStateLastUpdated(java.util.Calendar stateLastUpdated) |
AwsEsxHost.Builder |
setXeniInfo(XEniInfo xeniInfo) |
public Builder()
AwsEsxHost
.public AwsEsxHost.Builder setCapacityPool(java.lang.String capacityPool)
capacityPool
- New value for the property.public AwsEsxHost.Builder setEniList(java.util.List<EniInfo> eniList)
eniList
- New value for the property.public AwsEsxHost.Builder setXeniInfo(XEniInfo xeniInfo)
xeniInfo
- New value for the property.public AwsEsxHost.Builder setPartitionNumber(java.lang.Long partitionNumber)
partitionNumber
- New value for the property.public AwsEsxHost.Builder setEc2InstanceRunningStatusCount(java.lang.Long ec2InstanceRunningStatusCount)
ec2InstanceRunningStatusCount
- New value for the property.public AwsEsxHost.Builder setEsxNicInfo(EsxNicInfo esxNicInfo)
esxNicInfo
- New value for the property.public AwsEsxHost.Builder setInternalPublicIpPool(java.util.List<SddcPublicIp> internalPublicIpPool)
internalPublicIpPool
- New value for the property.public AwsEsxHost.Builder setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone
- New value for the property.public AwsEsxHost.Builder setEsxId(java.lang.String esxId)
esxId
- New value for the property.public AwsEsxHost.Builder setDurableHostName(java.lang.String durableHostName)
durableHostName
- New value for the property.public AwsEsxHost.Builder setStateLastUpdated(java.util.Calendar stateLastUpdated)
stateLastUpdated
- New value for the property.public AwsEsxHost.Builder setName(java.lang.String name)
name
- New value for the property.public AwsEsxHost.Builder setCustomProperties(java.util.Map<java.lang.String,java.lang.String> customProperties)
customProperties
- New value for the property.public AwsEsxHost.Builder setHostname(java.lang.String hostname)
hostname
- New value for the property.public AwsEsxHost.Builder setInstanceType(java.lang.String instanceType)
instanceType
- New value for the property.public AwsEsxHost.Builder setMacAddress(java.lang.String macAddress)
macAddress
- New value for the property.public AwsEsxHost.Builder setEsxState(java.lang.String esxState)
EsxHost.ESX_STATE_DEPLOYING
EsxHost.ESX_STATE_INITIALIZING
EsxHost.ESX_STATE_PROVISIONED
EsxHost.ESX_STATE_READY
EsxHost.ESX_STATE_DELETING
EsxHost.ESX_STATE_DELETED
EsxHost.ESX_STATE_FAILED
EsxHost.ESX_STATE_ADDING_TO_VCENTER
EsxHost.ESX_STATE_DELETING_FROM_VCENTER
EsxHost.ESX_STATE_PENDING_CLOUD_DELETION
esxState
- New value for the property.public AwsEsxHost build()