public class HostProxySwitch extends DynamicData
Java class for HostProxySwitch complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostProxySwitch">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="dvsUuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="dvsName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="numPorts" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="configNumPorts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="numPortsAvailable" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="uplinkPort" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="mtu" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="pnic" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="spec" type="{urn:vim25}HostProxySwitchSpec"/>
<element name="hostLag" type="{urn:vim25}HostProxySwitchHostLagConfig" maxOccurs="unbounded" minOccurs="0"/>
<element name="networkReservationSupported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
configNumPorts |
protected String |
dvsName |
protected String |
dvsUuid |
protected List<HostProxySwitchHostLagConfig> |
hostLag |
protected String |
key |
protected Integer |
mtu |
protected Boolean |
networkReservationSupported |
protected int |
numPorts |
protected int |
numPortsAvailable |
protected List<String> |
pnic |
protected HostProxySwitchSpec |
spec |
protected List<KeyValue> |
uplinkPort |
| Constructor and Description |
|---|
HostProxySwitch() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getConfigNumPorts()
Gets the value of the configNumPorts property.
|
String |
getDvsName()
Gets the value of the dvsName property.
|
String |
getDvsUuid()
Gets the value of the dvsUuid property.
|
List<HostProxySwitchHostLagConfig> |
getHostLag()
Gets the value of the hostLag property.
|
String |
getKey()
Gets the value of the key property.
|
Integer |
getMtu()
Gets the value of the mtu property.
|
int |
getNumPorts()
Gets the value of the numPorts property.
|
int |
getNumPortsAvailable()
Gets the value of the numPortsAvailable property.
|
List<String> |
getPnic()
Gets the value of the pnic property.
|
HostProxySwitchSpec |
getSpec()
Gets the value of the spec property.
|
List<KeyValue> |
getUplinkPort()
Gets the value of the uplinkPort property.
|
Boolean |
isNetworkReservationSupported()
Gets the value of the networkReservationSupported property.
|
void |
setConfigNumPorts(Integer value)
Sets the value of the configNumPorts property.
|
void |
setDvsName(String value)
Sets the value of the dvsName property.
|
void |
setDvsUuid(String value)
Sets the value of the dvsUuid property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setMtu(Integer value)
Sets the value of the mtu property.
|
void |
setNetworkReservationSupported(Boolean value)
Sets the value of the networkReservationSupported property.
|
void |
setNumPorts(int value)
Sets the value of the numPorts property.
|
void |
setNumPortsAvailable(int value)
Sets the value of the numPortsAvailable property.
|
void |
setSpec(HostProxySwitchSpec value)
Sets the value of the spec property.
|
protected String dvsUuid
protected String dvsName
protected String key
protected int numPorts
protected Integer configNumPorts
protected int numPortsAvailable
protected Integer mtu
protected HostProxySwitchSpec spec
protected List<HostProxySwitchHostLagConfig> hostLag
protected Boolean networkReservationSupported
public String getDvsUuid()
Stringpublic void setDvsUuid(String value)
value - allowed object is
Stringpublic String getDvsName()
Stringpublic void setDvsName(String value)
value - allowed object is
Stringpublic String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic int getNumPorts()
public void setNumPorts(int value)
public Integer getConfigNumPorts()
Integerpublic void setConfigNumPorts(Integer value)
value - allowed object is
Integerpublic int getNumPortsAvailable()
public void setNumPortsAvailable(int value)
public List<KeyValue> getUplinkPort()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the uplinkPort property.
For example, to add a new item, do as follows:
getUplinkPort().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValue
public Integer getMtu()
Integerpublic void setMtu(Integer value)
value - allowed object is
Integerpublic List<String> getPnic()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the pnic property.
For example, to add a new item, do as follows:
getPnic().add(newItem);
Objects of the following type(s) are allowed in the list
String
public HostProxySwitchSpec getSpec()
HostProxySwitchSpecpublic void setSpec(HostProxySwitchSpec value)
value - allowed object is
HostProxySwitchSpecpublic List<HostProxySwitchHostLagConfig> getHostLag()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the hostLag property.
For example, to add a new item, do as follows:
getHostLag().add(newItem);
Objects of the following type(s) are allowed in the list
HostProxySwitchHostLagConfig
public Boolean isNetworkReservationSupported()
BooleanCopyright © 2018. All rights reserved.