public static final class EthernetTypes.Info.Builder
extends java.lang.Object
EthernetTypes.Info
.Constructor and Description |
---|
Builder(java.lang.String label,
EthernetTypes.EmulationType type,
EthernetTypes.MacAddressType macType,
boolean wakeOnLanEnabled,
EthernetTypes.BackingInfo backing,
ConnectionState state,
boolean startConnected,
boolean allowGuestControl)
Constructor with parameters for the required properties of
EthernetTypes.Info . |
Modifier and Type | Method and Description |
---|---|
EthernetTypes.Info |
build() |
EthernetTypes.Info.Builder |
setMacAddress(java.lang.String macAddress)
MAC address.
|
EthernetTypes.Info.Builder |
setPciSlotNumber(java.lang.Long pciSlotNumber)
Address of the virtual Ethernet adapter on the PCI bus.
|
EthernetTypes.Info.Builder |
setUptCompatibilityEnabled(java.lang.Boolean uptCompatibilityEnabled)
Flag indicating whether Universal Pass-Through (UPT) compatibility is enabled on
this virtual Ethernet adapter.
|
public Builder(java.lang.String label, EthernetTypes.EmulationType type, EthernetTypes.MacAddressType macType, boolean wakeOnLanEnabled, EthernetTypes.BackingInfo backing, ConnectionState state, boolean startConnected, boolean allowGuestControl)
EthernetTypes.Info
.public EthernetTypes.Info.Builder setUptCompatibilityEnabled(java.lang.Boolean uptCompatibilityEnabled)
getType()
is com.vmware.vcenter.vm.hardware.EthernetTypes.EmulationType#VMXNE_T3
.uptCompatibilityEnabled
- New value for the property.public EthernetTypes.Info.Builder setMacAddress(java.lang.String macAddress)
null
if EthernetTypes.Info.getMacType()
is EthernetTypes.MacAddressType.MANUAL
and has not
been specified, or if EthernetTypes.Info.getMacType()
is EthernetTypes.MacAddressType.GENERATED
and the
virtual machine has never been powered on since the Ethernet adapter was
created.macAddress
- New value for the property.public EthernetTypes.Info.Builder setPciSlotNumber(java.lang.Long pciSlotNumber)
null
if the virtual machine has never been powered on since the
adapter was created.pciSlotNumber
- New value for the property.public EthernetTypes.Info build()