public static final class VsphereDeploymentConfig.Builder
extends java.lang.Object
VsphereDeploymentConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VsphereDeploymentConfig . |
Modifier and Type | Method and Description |
---|---|
VsphereDeploymentConfig |
build() |
VsphereDeploymentConfig.Builder |
setAdvancedConfiguration(java.util.List<KeyValuePair> advancedConfiguration)
This field is deprecated.
|
VsphereDeploymentConfig.Builder |
setComputeFolderId(java.lang.String computeFolderId)
The edge node vm will be deployed on the specified compute folder created in a
datacenter, if compute folder is specified.
|
VsphereDeploymentConfig.Builder |
setComputeId(java.lang.String computeId)
The edge node vm will be deployed on the specified cluster or resourcepool.
|
VsphereDeploymentConfig.Builder |
setDataNetworkIds(java.util.List<java.lang.String> dataNetworkIds)
List of distributed portgroups, VLAN logical switch identifiers or segment paths
to which the datapath serving vnics of edge node vm will be connected.
|
VsphereDeploymentConfig.Builder |
setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
The default gateway for edge node must be specified if all the nodes it
communicates with are not in the same subnet.
|
VsphereDeploymentConfig.Builder |
setHostId(java.lang.String hostId)
The edge node vm will be deployed on the specified Host within the cluster if
host_id is specified.
|
VsphereDeploymentConfig.Builder |
setIpv4AssignmentEnabled(java.lang.Boolean ipv4AssignmentEnabled)
This flag represents whether IPv4 configuration is enabled or not.
|
VsphereDeploymentConfig.Builder |
setIpv6AssignmentType(java.lang.String ipv6AssignmentType)
Possible values are:
VsphereDeploymentConfig.IPV6ASSIGNMENT_TYPE_STATIC
IPv6 assignment type e.g STATIC, DHCPV6, SLAAC. |
VsphereDeploymentConfig.Builder |
setManagementNetworkId(java.lang.String managementNetworkId)
Distributed portgroup identifier to which the management vnic of edge node vm
will be connected.
|
VsphereDeploymentConfig.Builder |
setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
IP Address and subnet configuration for the management port.
|
VsphereDeploymentConfig.Builder |
setReservationInfo(ReservationInfo reservationInfo) |
VsphereDeploymentConfig.Builder |
setResourceAllocation(ResourceAssignment resourceAllocation) |
VsphereDeploymentConfig.Builder |
setStorageId(java.lang.String storageId)
The edge node vm will be deployed on the specified datastore.
|
VsphereDeploymentConfig.Builder |
setVcId(java.lang.String vcId)
The vc specific identifiers will be resolved on this VC.
|
public Builder()
VsphereDeploymentConfig
.public VsphereDeploymentConfig.Builder setAdvancedConfiguration(java.util.List<KeyValuePair> advancedConfiguration)
advancedConfiguration
- New value for the property.public VsphereDeploymentConfig.Builder setComputeFolderId(java.lang.String computeFolderId)
computeFolderId
- New value for the property.public VsphereDeploymentConfig.Builder setComputeId(java.lang.String computeId)
computeId
- New value for the property.public VsphereDeploymentConfig.Builder setDataNetworkIds(java.util.List<java.lang.String> dataNetworkIds)
dataNetworkIds
- New value for the property.public VsphereDeploymentConfig.Builder setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
defaultGatewayAddresses
- New value for the property.public VsphereDeploymentConfig.Builder setHostId(java.lang.String hostId)
hostId
- New value for the property.public VsphereDeploymentConfig.Builder setIpv4AssignmentEnabled(java.lang.Boolean ipv4AssignmentEnabled)
ipv4AssignmentEnabled
- New value for the property.public VsphereDeploymentConfig.Builder setIpv6AssignmentType(java.lang.String ipv6AssignmentType)
ipv6AssignmentType
- New value for the property.public VsphereDeploymentConfig.Builder setManagementNetworkId(java.lang.String managementNetworkId)
managementNetworkId
- New value for the property.public VsphereDeploymentConfig.Builder setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
managementPortSubnets
- New value for the property.public VsphereDeploymentConfig.Builder setReservationInfo(ReservationInfo reservationInfo)
reservationInfo
- New value for the property.public VsphereDeploymentConfig.Builder setResourceAllocation(ResourceAssignment resourceAllocation)
resourceAllocation
- New value for the property.public VsphereDeploymentConfig.Builder setStorageId(java.lang.String storageId)
storageId
- New value for the property.public VsphereDeploymentConfig.Builder setVcId(java.lang.String vcId)
vcId
- New value for the property.public VsphereDeploymentConfig build()