public static final class StandardHostSwitch.Builder
extends java.lang.Object
StandardHostSwitch
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
StandardHostSwitch . |
Modifier and Type | Method and Description |
---|---|
StandardHostSwitch |
build() |
StandardHostSwitch.Builder |
setCpuConfig(java.util.List<CpuCoreConfigForEnhancedNetworkingStackSwitch> cpuConfig)
CPU configuration specifies number of Logical cpu cores (Lcores) per Non Uniform
Memory Access (NUMA) node dedicated to Enhanced Networking Stack enabled
HostSwitch to get the best performance.
|
StandardHostSwitch.Builder |
setHostSwitchId(java.lang.String hostSwitchId)
This field is writable only in case of VDS type HostSwitch and system generated
for NVDS type.
|
StandardHostSwitch.Builder |
setHostSwitchMode(java.lang.String hostSwitchMode)
Possible values are:
StandardHostSwitch.HOST_SWITCH_MODE_STANDARD
StandardHostSwitch.HOST_SWITCH_MODE_ENS
StandardHostSwitch.HOST_SWITCH_MODE_ENS_INTERRUPT
StandardHostSwitch.HOST_SWITCH_MODE_LEGACY
STANDARD - This mode applies to all transport nodes. |
StandardHostSwitch.Builder |
setHostSwitchName(java.lang.String hostSwitchName)
This field is writable only in case of NVDS type HostSwitch and system generated
for VDS type.
|
StandardHostSwitch.Builder |
setHostSwitchProfileIds(java.util.List<HostSwitchProfileTypeIdEntry> hostSwitchProfileIds)
Host switch profiles bound to this host switch.
|
StandardHostSwitch.Builder |
setHostSwitchType(java.lang.String hostSwitchType)
Possible values are:
StandardHostSwitch.HOST_SWITCH_TYPE_NVDS StandardHostSwitch.HOST_SWITCH_TYPE_VDS VDS
represents VMware vSphere Distributed Switch from vSphere that is used as
HostSwitch through TransportNode or TransportNodeProfile configuration. |
StandardHostSwitch.Builder |
setIpAssignmentSpec(com.vmware.vapi.bindings.Structure ipAssignmentSpec) |
StandardHostSwitch.Builder |
setIpv6AssignmentSpec(com.vmware.vapi.bindings.Structure ipv6AssignmentSpec) |
StandardHostSwitch.Builder |
setIsMigratePnics(java.lang.Boolean isMigratePnics)
When using the Quick Start workflow on 7.0 and above vCenter clusters, if the
pnics specified in the pnics field are used by a single VSS HostSwitch, then
they are migrated over to recommended VDS HostSwitch.
|
StandardHostSwitch.Builder |
setPnics(java.util.List<Pnic> pnics)
When using the Quick Start workflow on 7.0 and above vCenter clusters, pnic
information will be populated by the recommendation engine when providing a VDS
HostSwitch based recommendation for a VSS HostSwitch.
|
StandardHostSwitch.Builder |
setPnicsUninstallMigration(java.util.List<Pnic> pnicsUninstallMigration)
This is only supported for NVDS type of host switch.
|
StandardHostSwitch.Builder |
setPortgroupTransportZoneId(java.lang.String portgroupTransportZoneId)
A transport zone will be created for each DVS found across all hosts in a
cluster that is installed for NSX on DVPG.
|
StandardHostSwitch.Builder |
setTransportNodeProfileSubConfigs(java.util.List<TransportNodeProfileSubConfig> transportNodeProfileSubConfigs)
This field is supported only for Tranport Node Profile Configurations.
|
StandardHostSwitch.Builder |
setTransportZoneEndpoints(java.util.List<TransportZoneEndPoint> transportZoneEndpoints)
List of TransportZones that are to be associated with specified host switch.
|
StandardHostSwitch.Builder |
setUplinks(java.util.List<VdsUplink> uplinks)
If VDS is used as a HostSwitch this attribute must be specified.
|
StandardHostSwitch.Builder |
setVmkInstallMigration(java.util.List<VmknicNetwork> vmkInstallMigration)
When using the Quick Start workflow on 7.0 and above vCenter clusters,
vmnk_install_migration will be populated by the recommendation engine when
providing a VDS HostSwitch based recommendation for a VSS HostSwitch.
|
StandardHostSwitch.Builder |
setVmkUninstallMigration(java.util.List<VmknicNetwork> vmkUninstallMigration)
This is only supported for NVDS type of host switch.
|
public Builder()
StandardHostSwitch
.public StandardHostSwitch.Builder setCpuConfig(java.util.List<CpuCoreConfigForEnhancedNetworkingStackSwitch> cpuConfig)
cpuConfig
- New value for the property.public StandardHostSwitch.Builder setHostSwitchId(java.lang.String hostSwitchId)
hostSwitchId
- New value for the property.public StandardHostSwitch.Builder setHostSwitchMode(java.lang.String hostSwitchMode)
hostSwitchMode
- New value for the property.public StandardHostSwitch.Builder setHostSwitchName(java.lang.String hostSwitchName)
hostSwitchName
- New value for the property.public StandardHostSwitch.Builder setHostSwitchProfileIds(java.util.List<HostSwitchProfileTypeIdEntry> hostSwitchProfileIds)
hostSwitchProfileIds
- New value for the property.public StandardHostSwitch.Builder setHostSwitchType(java.lang.String hostSwitchType)
hostSwitchType
- New value for the property.public StandardHostSwitch.Builder setIpAssignmentSpec(com.vmware.vapi.bindings.Structure ipAssignmentSpec)
ipAssignmentSpec
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in IpAssignmentSpec
. When methods return a value of this
class as a return value, the property will contain all the properties defined in
IpAssignmentSpec
.public StandardHostSwitch.Builder setIpv6AssignmentSpec(com.vmware.vapi.bindings.Structure ipv6AssignmentSpec)
ipv6AssignmentSpec
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in Ipv6AssignmentSpec
. When methods return a value of this
class as a return value, the property will contain all the properties defined in
Ipv6AssignmentSpec
.public StandardHostSwitch.Builder setIsMigratePnics(java.lang.Boolean isMigratePnics)
isMigratePnics
- New value for the property.public StandardHostSwitch.Builder setPnics(java.util.List<Pnic> pnics)
pnics
- New value for the property.public StandardHostSwitch.Builder setPnicsUninstallMigration(java.util.List<Pnic> pnicsUninstallMigration)
pnicsUninstallMigration
- New value for the property.public StandardHostSwitch.Builder setPortgroupTransportZoneId(java.lang.String portgroupTransportZoneId)
portgroupTransportZoneId
- New value for the property.public StandardHostSwitch.Builder setTransportNodeProfileSubConfigs(java.util.List<TransportNodeProfileSubConfig> transportNodeProfileSubConfigs)
transportNodeProfileSubConfigs
- New value for the property.public StandardHostSwitch.Builder setTransportZoneEndpoints(java.util.List<TransportZoneEndPoint> transportZoneEndpoints)
transportZoneEndpoints
- New value for the property.public StandardHostSwitch.Builder setUplinks(java.util.List<VdsUplink> uplinks)
uplinks
- New value for the property.public StandardHostSwitch.Builder setVmkInstallMigration(java.util.List<VmknicNetwork> vmkInstallMigration)
vmkInstallMigration
- New value for the property.public StandardHostSwitch.Builder setVmkUninstallMigration(java.util.List<VmknicNetwork> vmkUninstallMigration)
vmkUninstallMigration
- New value for the property.public StandardHostSwitch build()