com.vmware.vim25.HostProxySwitch Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostProxySwitch", propOrder = {
"dvsUuid",
"dvsName",
"key",
"numPorts",
"configNumPorts",
"numPortsAvailable",
"uplinkPort",
"mtu",
"pnic",
"spec",
"hostLag",
"networkReservationSupported"
})
public class HostProxySwitch
extends DynamicData
{
@XmlElement(required = true)
protected String dvsUuid;
@XmlElement(required = true)
protected String dvsName;
@XmlElement(required = true)
protected String key;
protected int numPorts;
protected Integer configNumPorts;
protected int numPortsAvailable;
protected List uplinkPort;
protected Integer mtu;
protected List pnic;
@XmlElement(required = true)
protected HostProxySwitchSpec spec;
protected List hostLag;
protected Boolean networkReservationSupported;
/**
* Gets the value of the dvsUuid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDvsUuid() {
return dvsUuid;
}
/**
* Sets the value of the dvsUuid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDvsUuid(String value) {
this.dvsUuid = value;
}
/**
* Gets the value of the dvsName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDvsName() {
return dvsName;
}
/**
* Sets the value of the dvsName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDvsName(String value) {
this.dvsName = value;
}
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the numPorts property.
*
*/
public int getNumPorts() {
return numPorts;
}
/**
* Sets the value of the numPorts property.
*
*/
public void setNumPorts(int value) {
this.numPorts = value;
}
/**
* Gets the value of the configNumPorts property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getConfigNumPorts() {
return configNumPorts;
}
/**
* Sets the value of the configNumPorts property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setConfigNumPorts(Integer value) {
this.configNumPorts = value;
}
/**
* Gets the value of the numPortsAvailable property.
*
*/
public int getNumPortsAvailable() {
return numPortsAvailable;
}
/**
* Sets the value of the numPortsAvailable property.
*
*/
public void setNumPortsAvailable(int value) {
this.numPortsAvailable = value;
}
/**
* Gets the value of the uplinkPort property.
*
*
* 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
* {@link KeyValue }
*
*
*/
public List getUplinkPort() {
if (uplinkPort == null) {
uplinkPort = new ArrayList();
}
return this.uplinkPort;
}
/**
* Gets the value of the mtu property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMtu() {
return mtu;
}
/**
* Sets the value of the mtu property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMtu(Integer value) {
this.mtu = value;
}
/**
* Gets the value of the pnic property.
*
*
* 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
* {@link String }
*
*
*/
public List getPnic() {
if (pnic == null) {
pnic = new ArrayList();
}
return this.pnic;
}
/**
* Gets the value of the spec property.
*
* @return
* possible object is
* {@link HostProxySwitchSpec }
*
*/
public HostProxySwitchSpec getSpec() {
return spec;
}
/**
* Sets the value of the spec property.
*
* @param value
* allowed object is
* {@link HostProxySwitchSpec }
*
*/
public void setSpec(HostProxySwitchSpec value) {
this.spec = value;
}
/**
* Gets the value of the hostLag property.
*
*
* 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
* {@link HostProxySwitchHostLagConfig }
*
*
*/
public List getHostLag() {
if (hostLag == null) {
hostLag = new ArrayList();
}
return this.hostLag;
}
/**
* Gets the value of the networkReservationSupported property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNetworkReservationSupported() {
return networkReservationSupported;
}
/**
* Sets the value of the networkReservationSupported property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setNetworkReservationSupported(Boolean value) {
this.networkReservationSupported = value;
}
}