public static final class EthernetTypes.UpdateSpec.Builder extends Object
EthernetTypes.UpdateSpec
.Constructor and Description |
---|
EthernetTypes.UpdateSpec.Builder()
Constructor with parameters for the required properties of
EthernetTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
EthernetTypes.UpdateSpec |
build() |
EthernetTypes.UpdateSpec.Builder |
setAllowGuestControl(Boolean allowGuestControl)
Flag indicating whether the guest can connect and disconnect the device.
|
EthernetTypes.UpdateSpec.Builder |
setBacking(EthernetTypes.BackingSpec backing)
Physical resource backing for the virtual Ethernet adapter.
|
EthernetTypes.UpdateSpec.Builder |
setMacAddress(String macAddress)
MAC address.
|
EthernetTypes.UpdateSpec.Builder |
setMacType(EthernetTypes.MacAddressType macType)
MAC address type.
|
EthernetTypes.UpdateSpec.Builder |
setStartConnected(Boolean startConnected)
Flag indicating whether the virtual device should be connected whenever the
virtual machine is powered on.
|
EthernetTypes.UpdateSpec.Builder |
setUptCompatibilityEnabled(Boolean uptCompatibilityEnabled)
Flag indicating whether Universal Pass-Through (UPT) compatibility should be
enabled on this virtual Ethernet adapter.
|
EthernetTypes.UpdateSpec.Builder |
setWakeOnLanEnabled(Boolean wakeOnLanEnabled)
Flag indicating whether wake-on-LAN shoud be enabled on this virtual Ethernet
adapter.
|
public EthernetTypes.UpdateSpec.Builder()
EthernetTypes.UpdateSpec
.public EthernetTypes.UpdateSpec.Builder setUptCompatibilityEnabled(Boolean uptCompatibilityEnabled)
This property may be modified at any time, and changes will be applied the next time the virtual machine is powered on.
Ifnull
, the value is unchanged. Must be null
if the emulation
type of the virtual Ethernet adapter is not com.vmware.vcenter.vm.hardware.EthernetTypes.EmulationType#VMXNE_T3
.uptCompatibilityEnabled
- New value for the property.public EthernetTypes.UpdateSpec.Builder setMacType(EthernetTypes.MacAddressType macType)
This property may be modified at any time, and changes will be applied the next time the virtual machine is powered on.
Ifnull
, the value is unchanged.macType
- New value for the property.public EthernetTypes.UpdateSpec.Builder setMacAddress(String macAddress)
This property may be modified at any time, and changes will be applied the next time the virtual machine is powered on.
Ifnull
, the value is unchanged. Must be specified if EthernetTypes.UpdateSpec.getMacType()
is EthernetTypes.MacAddressType.MANUAL
. Must be
null
if the MAC address type is not EthernetTypes.MacAddressType.MANUAL
.macAddress
- New value for the property.public EthernetTypes.UpdateSpec.Builder setWakeOnLanEnabled(Boolean wakeOnLanEnabled)
This property may be modified at any time, and changes will be applied the next time the virtual machine is powered on.
Ifnull
, the value is unchanged.wakeOnLanEnabled
- New value for the property.public EthernetTypes.UpdateSpec.Builder setBacking(EthernetTypes.BackingSpec backing)
This property may be modified at any time, and changes will be applied the next time the virtual machine is powered on.
Ifnull
, the value is unchanged.backing
- New value for the property.public EthernetTypes.UpdateSpec.Builder setStartConnected(Boolean startConnected)
null
, the value is unchanged.startConnected
- New value for the property.public EthernetTypes.UpdateSpec.Builder setAllowGuestControl(Boolean allowGuestControl)
null
, the value is unchanged.allowGuestControl
- New value for the property.public EthernetTypes.UpdateSpec build()
Copyright © 2016. All Rights Reserved.