Class VmknicNetwork.Builder

  • Enclosing class:
    VmknicNetwork

    public static final class VmknicNetwork.Builder
    extends java.lang.Object
    Builder class for VmknicNetwork.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of VmknicNetwork.
    • 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.