Package com.vmware.nsx_policy.model
Class AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder
-
- Enclosing class:
- AlbControllerVsphereClusterNodeVmDeploymentConfig
public static final class AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder extends java.lang.ObjectBuilder class forAlbControllerVsphereClusterNodeVmDeploymentConfig.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofAlbControllerVsphereClusterNodeVmDeploymentConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlbControllerVsphereClusterNodeVmDeploymentConfigbuild()AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetComputeId(java.lang.String computeId)The Advanced Load Balancer controller node VM will be deployed on the specified cluster or resourcepool for specified VC server.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)The default gateway for the VM to be deployed must be specified if all the other VMs it communicates with are not in the same subnet.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetDiskProvisioning(java.lang.String diskProvisioning)Possible values are:AlbControllerVsphereClusterNodeVmDeploymentConfig.DISK_PROVISIONING_THINAlbControllerVsphereClusterNodeVmDeploymentConfig.DISK_PROVISIONING_LAZY_ZEROED_THICKAlbControllerVsphereClusterNodeVmDeploymentConfig.DISK_PROVISIONING_EAGER_ZEROED_THICKSpecifies the disk provisioning type of the VM.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetDisplayName(java.lang.String displayName)Desired display name for Advanced Load Balancer controller VM to be deployed.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetDnsServers(java.util.List<java.lang.String> dnsServers)List of DNS servers.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetHostId(java.lang.String hostId)The Advanced Load Balancer controller node VM will be deployed on the specified host in the specified VC server within the cluster if host_id is specified.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetHostname(java.lang.String hostname)Desired host name/FQDN for the VM to be deployed.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetManagementNetworkId(java.lang.String managementNetworkId)Distributed portgroup identifier to which the management vnic of Advanced Load Balancer controller node VM will be connected.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)IP Address and subnet configuration for the management port.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetNtpServers(java.util.List<java.lang.String> ntpServers)List of NTP servers.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetStorageId(java.lang.String storageId)The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetStoragePolicyId(java.lang.String storagePolicyId)The cluster node VM will be deployed with the specified storage policy on the specified datastore in the specified VC server.AlbControllerVsphereClusterNodeVmDeploymentConfig.BuildersetVcId(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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAlbControllerVsphereClusterNodeVmDeploymentConfig.
-
-
Method Detail
-
setComputeId
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setComputeId(java.lang.String computeId)
The Advanced Load Balancer controller node VM will be deployed on the specified cluster or resourcepool for specified VC server.- Parameters:
computeId- New value for the property.
-
setDefaultGatewayAddresses
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
The default gateway for the VM to be deployed must be specified if all the other VMs it communicates with are not in the same subnet. Do not specify this field and management_port_subnets to use DHCP. Note: only single IPv4 default gateway address is supported and it must belong to management network. format: ip- Parameters:
defaultGatewayAddresses- New value for the property.
-
setDiskProvisioning
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setDiskProvisioning(java.lang.String diskProvisioning)
Possible values are: Specifies the disk provisioning type of the VM.- Parameters:
diskProvisioning- New value for the property.
-
setDisplayName
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setDisplayName(java.lang.String displayName)
Desired display name for Advanced Load Balancer controller VM to be deployed.- Parameters:
displayName- New value for the property.
-
setDnsServers
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setDnsServers(java.util.List<java.lang.String> dnsServers)
List of DNS servers. format: ipv4- Parameters:
dnsServers- New value for the property.
-
setHostId
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setHostId(java.lang.String hostId)
The Advanced Load Balancer controller node VM will be deployed on the specified host in the specified VC server within the cluster if host_id is specified. Note: User must ensure that storage and specified networks are accessible by this host.- Parameters:
hostId- New value for the property.
-
setHostname
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setHostname(java.lang.String hostname)
Desired host name/FQDN for the VM to be deployed. format: hostname-or-ip- Parameters:
hostname- New value for the property.
-
setManagementNetworkId
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setManagementNetworkId(java.lang.String managementNetworkId)
Distributed portgroup identifier to which the management vnic of Advanced Load Balancer controller node VM will be connected.- Parameters:
managementNetworkId- New value for the property.
-
setManagementPortSubnets
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
IP Address and subnet configuration for the management port. Do not specify this field and default_gateway_addresses to use DHCP. Note: only one IPv4 address is supported for the management port.- Parameters:
managementPortSubnets- New value for the property.
-
setNtpServers
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setNtpServers(java.util.List<java.lang.String> ntpServers)
List of NTP servers. format: hostname-or-ipv4- Parameters:
ntpServers- New value for the property.
-
setStorageId
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setStorageId(java.lang.String storageId)
The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server. User must ensure that storage is accessible by the specified cluster/host.- Parameters:
storageId- New value for the property.
-
setStoragePolicyId
public AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder setStoragePolicyId(java.lang.String storagePolicyId)
The cluster node VM will be deployed with the specified storage policy on the specified datastore in the specified VC server. User must ensure that the storage policy is applicable on the given datastore.- Parameters:
storagePolicyId- New value for the property.
-
setVcId
public AlbControllerVsphereClusterNodeVmDeploymentConfig.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.- Parameters:
vcId- New value for the property.
-
build
public AlbControllerVsphereClusterNodeVmDeploymentConfig build()
-
-