public static final class EthernetTypes.CreateSpec.Builder
extends java.lang.Object
EthernetTypes.CreateSpec
.Constructor and Description |
---|
EthernetTypes.CreateSpec.Builder()
Constructor with parameters for the required properties of
EthernetTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
EthernetTypes.CreateSpec |
build() |
EthernetTypes.CreateSpec.Builder |
setAllowGuestControl(java.lang.Boolean allowGuestControl)
Flag indicating whether the guest can connect and disconnect the device.
|
EthernetTypes.CreateSpec.Builder |
setBacking(EthernetTypes.BackingSpec backing)
Physical resource backing for the virtual Ethernet adapter.
|
EthernetTypes.CreateSpec.Builder |
setMacAddress(java.lang.String macAddress)
MAC address.
|
EthernetTypes.CreateSpec.Builder |
setMacType(EthernetTypes.MacAddressType macType)
MAC address type.
|
EthernetTypes.CreateSpec.Builder |
setPciSlotNumber(java.lang.Long pciSlotNumber)
Address of the virtual Ethernet adapter on the PCI bus.
|
EthernetTypes.CreateSpec.Builder |
setStartConnected(java.lang.Boolean startConnected)
Flag indicating whether the virtual device should be connected whenever the
virtual machine is powered on.
|
EthernetTypes.CreateSpec.Builder |
setType(EthernetTypes.EmulationType type)
Ethernet adapter emulation type.
|
EthernetTypes.CreateSpec.Builder |
setUptCompatibilityEnabled(java.lang.Boolean uptCompatibilityEnabled)
Flag indicating whether Universal Pass-Through (UPT) compatibility is enabled on
this virtual Ethernet adapter.
|
EthernetTypes.CreateSpec.Builder |
setWakeOnLanEnabled(java.lang.Boolean wakeOnLanEnabled)
Flag indicating whether wake-on-LAN is enabled on this virtual Ethernet adapter.
|
public EthernetTypes.CreateSpec.Builder()
EthernetTypes.CreateSpec
.public EthernetTypes.CreateSpec.Builder setType(EthernetTypes.EmulationType type)
null
, defaults to a guest-specific type.type
- New value for the property.public EthernetTypes.CreateSpec.Builder setUptCompatibilityEnabled(java.lang.Boolean uptCompatibilityEnabled)
null
, defaults to false.uptCompatibilityEnabled
- New value for the property.public EthernetTypes.CreateSpec.Builder setMacType(EthernetTypes.MacAddressType macType)
null
, defaults to EthernetTypes.MacAddressType.GENERATED
.macType
- New value for the property.public EthernetTypes.CreateSpec.Builder setMacAddress(java.lang.String macAddress)
macAddress
- New value for the property.public EthernetTypes.CreateSpec.Builder setPciSlotNumber(java.lang.Long pciSlotNumber)
null
, the server will choose an available address when the virtual
machine is powered on.pciSlotNumber
- New value for the property.public EthernetTypes.CreateSpec.Builder setWakeOnLanEnabled(java.lang.Boolean wakeOnLanEnabled)
null
.wakeOnLanEnabled
- New value for the property.public EthernetTypes.CreateSpec.Builder setBacking(EthernetTypes.BackingSpec backing)
null
, the system may try to find an appropriate backing. If one is
not found, the request will fail.backing
- New value for the property.public EthernetTypes.CreateSpec.Builder setStartConnected(java.lang.Boolean startConnected)
null
.startConnected
- New value for the property.public EthernetTypes.CreateSpec.Builder setAllowGuestControl(java.lang.Boolean allowGuestControl)
null
.allowGuestControl
- New value for the property.public EthernetTypes.CreateSpec build()