public static final class EthernetTypes.BackingInfo.Builder extends Object
EthernetTypes.BackingInfo.| Constructor and Description |
|---|
EthernetTypes.BackingInfo.Builder(EthernetTypes.BackingType type)
Constructor with parameters for the required properties of
EthernetTypes.BackingInfo. |
| Modifier and Type | Method and Description |
|---|---|
EthernetTypes.BackingInfo |
build() |
EthernetTypes.BackingInfo.Builder |
setConnectionCookie(Long connectionCookie)
Server-generated cookie that identifies the connection to the port.
|
EthernetTypes.BackingInfo.Builder |
setDistributedPort(String distributedPort)
Key of the distributed virtual port that backs the virtual Ethernet adapter.
|
EthernetTypes.BackingInfo.Builder |
setDistributedSwitchUuid(String distributedSwitchUuid)
UUID of the distributed virtual switch that backs the virtual Ethernet adapter.
|
EthernetTypes.BackingInfo.Builder |
setHostDevice(String hostDevice)
Name of the device backing the virtual Ethernet adapter.
|
EthernetTypes.BackingInfo.Builder |
setNetwork(String network)
Identifier of the network backing the virtual Ethernet adapter.
|
EthernetTypes.BackingInfo.Builder |
setNetworkName(String networkName)
Name of the standard portgroup backing the virtual Ethernet adapter.
|
EthernetTypes.BackingInfo.Builder |
setOpaqueNetworkId(String opaqueNetworkId)
Identifier of the opaque network that backs the virtual Ethernet adapter.
|
EthernetTypes.BackingInfo.Builder |
setOpaqueNetworkType(String opaqueNetworkType)
Type of the opaque network that backs the virtual Ethernet adapter.
|
public EthernetTypes.BackingInfo.Builder(EthernetTypes.BackingType type)
EthernetTypes.BackingInfo.public EthernetTypes.BackingInfo.Builder setNetwork(String network)
null, the identifier of the network backing could not be determined.network - New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: Network. When methods return a value
of this class as a return value, the property will be an identifier for the
resource type: Network.public EthernetTypes.BackingInfo.Builder setNetworkName(String networkName)
getType() is EthernetTypes.BackingType.STANDARD_PORTGROUP.networkName - New value for the property.public EthernetTypes.BackingInfo.Builder setHostDevice(String hostDevice)
getType() is EthernetTypes.BackingType.HOST_DEVICE.hostDevice - New value for the property.public EthernetTypes.BackingInfo.Builder setDistributedSwitchUuid(String distributedSwitchUuid)
getType() is EthernetTypes.BackingType.DISTRIBUTED_PORTGROUP.distributedSwitchUuid - New value for the property.public EthernetTypes.BackingInfo.Builder setDistributedPort(String distributedPort)
null if the virtual Ethernet device is not bound
to a distributed virtual port; this can happen if the virtual machine is powered
off or the virtual Ethernet device is not connected.distributedPort - New value for the property.public EthernetTypes.BackingInfo.Builder setConnectionCookie(Long connectionCookie)
null if the virtual Ethernet device is not bound
to a distributed virtual port; this can happen if the virtual machine is powered
off or the virtual Ethernet device is not connected.connectionCookie - New value for the property.public EthernetTypes.BackingInfo.Builder setOpaqueNetworkType(String opaqueNetworkType)
getType() is EthernetTypes.BackingType.OPAQUE_NETWORK.opaqueNetworkType - New value for the property.public EthernetTypes.BackingInfo.Builder setOpaqueNetworkId(String opaqueNetworkId)
getType() is EthernetTypes.BackingType.OPAQUE_NETWORK.opaqueNetworkId - New value for the property.public EthernetTypes.BackingInfo build()
Copyright © 2016. All Rights Reserved.