public static final class EthernetTypes.BackingSpec.Builder extends Object
EthernetTypes.BackingSpec
.Constructor and Description |
---|
EthernetTypes.BackingSpec.Builder(EthernetTypes.BackingType type)
Constructor with parameters for the required properties of
EthernetTypes.BackingSpec . |
Modifier and Type | Method and Description |
---|---|
EthernetTypes.BackingSpec |
build() |
EthernetTypes.BackingSpec.Builder |
setDistributedPort(String distributedPort)
Key of the distributed virtual port that backs the virtual Ethernet adapter.
|
EthernetTypes.BackingSpec.Builder |
setNetwork(String network)
Identifier of the network that backs the virtual Ethernet adapter.
|
public EthernetTypes.BackingSpec.Builder(EthernetTypes.BackingType type)
EthernetTypes.BackingSpec
.public EthernetTypes.BackingSpec.Builder setNetwork(String network)
getType()
is one of EthernetTypes.BackingType.STANDARD_PORTGROUP
,
EthernetTypes.BackingType.DISTRIBUTED_PORTGROUP
,
or EthernetTypes.BackingType.OPAQUE_NETWORK
.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.BackingSpec.Builder setDistributedPort(String distributedPort)
getNetwork()
property is a static or early binding distributed portgroup. If
null
, the port will be automatically assigned to the Ethernet adapter
based on the policy embodied by the portgroup type.distributedPort
- New value for the property.public EthernetTypes.BackingSpec build()
Copyright © 2016. All Rights Reserved.