Package com.vmware.nsx_policy.model
Class VmknicNetwork.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VmknicNetwork.Builder
-
- Enclosing class:
- VmknicNetwork
public static final class VmknicNetwork.Builder extends java.lang.ObjectBuilder class forVmknicNetwork.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofVmknicNetwork.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmknicNetworkbuild()VmknicNetwork.BuildersetDestinationNetwork(java.lang.String destinationNetwork)When migrating vmks to N-VDS/logical switches, the id is the logical switch id.VmknicNetwork.BuildersetDeviceName(java.lang.String deviceName)The vmk interface name, e.g., vmk0, vmk1; the id assigned by vCenter.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVmknicNetwork.
-
-
Method Detail
-
setDestinationNetwork
public VmknicNetwork.Builder setDestinationNetwork(java.lang.String destinationNetwork)
When migrating vmks to N-VDS/logical switches, the id is the logical switch id. When migrating out of N-VDS/logical switches, the id is the vSphere Switch portgroup name in a single vSphere Standard Switch (VSS), or distributed virtual portgroup name in a single distributed virtual switch (DVS).- Parameters:
destinationNetwork- New value for the property.
-
setDeviceName
public VmknicNetwork.Builder setDeviceName(java.lang.String deviceName)
The vmk interface name, e.g., vmk0, vmk1; the id assigned by vCenter.- Parameters:
deviceName- New value for the property.
-
build
public VmknicNetwork build()
-
-