public class HostVirtualSwitchSpec extends DynamicData
Java class for HostVirtualSwitchSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostVirtualSwitchSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="numPorts" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="bridge" type="{urn:vim25}HostVirtualSwitchBridge" minOccurs="0"/>
<element name="policy" type="{urn:vim25}HostNetworkPolicy" minOccurs="0"/>
<element name="mtu" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected HostVirtualSwitchBridge |
bridge |
protected Integer |
mtu |
protected int |
numPorts |
protected HostNetworkPolicy |
policy |
| Constructor and Description |
|---|
HostVirtualSwitchSpec() |
| Modifier and Type | Method and Description |
|---|---|
HostVirtualSwitchBridge |
getBridge()
Gets the value of the bridge property.
|
Integer |
getMtu()
Gets the value of the mtu property.
|
int |
getNumPorts()
Gets the value of the numPorts property.
|
HostNetworkPolicy |
getPolicy()
Gets the value of the policy property.
|
void |
setBridge(HostVirtualSwitchBridge value)
Sets the value of the bridge property.
|
void |
setMtu(Integer value)
Sets the value of the mtu property.
|
void |
setNumPorts(int value)
Sets the value of the numPorts property.
|
void |
setPolicy(HostNetworkPolicy value)
Sets the value of the policy property.
|
protected int numPorts
protected HostVirtualSwitchBridge bridge
protected HostNetworkPolicy policy
protected Integer mtu
public int getNumPorts()
public void setNumPorts(int value)
public HostVirtualSwitchBridge getBridge()
HostVirtualSwitchBridgepublic void setBridge(HostVirtualSwitchBridge value)
value - allowed object is
HostVirtualSwitchBridgepublic HostNetworkPolicy getPolicy()
HostNetworkPolicypublic void setPolicy(HostNetworkPolicy value)
value - allowed object is
HostNetworkPolicypublic Integer getMtu()
IntegerCopyright © 2018. All rights reserved.