public static final class VsphereClusterNodeVMDeploymentConfig.Builder
extends java.lang.Object
VsphereClusterNodeVMDeploymentConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VsphereClusterNodeVMDeploymentConfig . |
Modifier and Type | Method and Description |
---|---|
VsphereClusterNodeVMDeploymentConfig |
build() |
VsphereClusterNodeVMDeploymentConfig.Builder |
setAllowSshRootLogin(java.lang.Boolean allowSshRootLogin)
If true, the root user will be allowed to log into the VM.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setComputeId(java.lang.String computeId)
The cluster node VM will be deployed on the specified cluster or resourcepool
for specified VC server.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
The default IPv4 gateway for the VM to be deployed must be specified if all the
other VMs it communicates with are not in the same subnet.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setDefaultIpv6GatewayAddresses(java.util.List<java.lang.String> defaultIpv6GatewayAddresses)
The default IPv6 gateway for the VM to be deployed must be specified if all the
other VMs it communicates with are not in the same subnet.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setDiskProvisioning(java.lang.String diskProvisioning)
Possible values are:
VsphereClusterNodeVMDeploymentConfig.DISK_PROVISIONING_THIN
VsphereClusterNodeVMDeploymentConfig.DISK_PROVISIONING_LAZY_ZEROED_THICK
VsphereClusterNodeVMDeploymentConfig.DISK_PROVISIONING_EAGER_ZEROED_THICK
Specifies the disk provisioning type of the VM. |
VsphereClusterNodeVMDeploymentConfig.Builder |
setDnsServers(java.util.List<java.lang.String> dnsServers)
List of DNS servers.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setEnableSsh(java.lang.Boolean enableSsh)
If true, the SSH service will automatically be started on the VM.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setFolderId(java.lang.String folderId)
Specifies the folder in which the VM should be placed.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setHostId(java.lang.String hostId)
The cluster node VM will be deployed on the specified host in the specified VC
server within the cluster if host_id is specified.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setHostname(java.lang.String hostname)
Desired host name/FQDN for the VM to be deployed
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setManagementNetworkId(java.lang.String managementNetworkId)
Distributed portgroup identifier to which the management vnic of cluster node VM
will be connected.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setManagementPortIpv6Subnets(java.util.List<IPSubnet> managementPortIpv6Subnets)
IPv6 Address and subnet configuration for the management port.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
IPv4 Address and subnet configuration for the management port.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setNtpServers(java.util.List<java.lang.String> ntpServers)
List of NTP servers.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setSearchDomains(java.util.List<java.lang.String> searchDomains)
List of domain names that are used to complete unqualified host names.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setStorageId(java.lang.String storageId)
The cluster node VM will be deployed on the specified datastore in the specified
VC server.
|
VsphereClusterNodeVMDeploymentConfig.Builder |
setVcId(java.lang.String vcId)
The VC-specific identifiers will be resolved on this VC, so all other
identifiers specified in the config must belong to this vCenter server.
|
public Builder()
VsphereClusterNodeVMDeploymentConfig
.public VsphereClusterNodeVMDeploymentConfig.Builder setAllowSshRootLogin(java.lang.Boolean allowSshRootLogin)
allowSshRootLogin
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setComputeId(java.lang.String computeId)
computeId
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
defaultGatewayAddresses
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setDefaultIpv6GatewayAddresses(java.util.List<java.lang.String> defaultIpv6GatewayAddresses)
defaultIpv6GatewayAddresses
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setDiskProvisioning(java.lang.String diskProvisioning)
diskProvisioning
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setDnsServers(java.util.List<java.lang.String> dnsServers)
dnsServers
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setEnableSsh(java.lang.Boolean enableSsh)
enableSsh
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setFolderId(java.lang.String folderId)
folderId
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setHostId(java.lang.String hostId)
hostId
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setHostname(java.lang.String hostname)
hostname
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setManagementNetworkId(java.lang.String managementNetworkId)
managementNetworkId
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setManagementPortIpv6Subnets(java.util.List<IPSubnet> managementPortIpv6Subnets)
managementPortIpv6Subnets
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
managementPortSubnets
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setNtpServers(java.util.List<java.lang.String> ntpServers)
ntpServers
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setSearchDomains(java.util.List<java.lang.String> searchDomains)
searchDomains
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setStorageId(java.lang.String storageId)
storageId
- New value for the property.public VsphereClusterNodeVMDeploymentConfig.Builder setVcId(java.lang.String vcId)
vcId
- New value for the property.public VsphereClusterNodeVMDeploymentConfig build()