com.vmware.vim25.HostNetworkInfo 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.XmlType;
/**
* Java class for HostNetworkInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostNetworkInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="vswitch" type="{urn:vim25}HostVirtualSwitch" maxOccurs="unbounded" minOccurs="0"/>
* <element name="proxySwitch" type="{urn:vim25}HostProxySwitch" maxOccurs="unbounded" minOccurs="0"/>
* <element name="portgroup" type="{urn:vim25}HostPortGroup" maxOccurs="unbounded" minOccurs="0"/>
* <element name="pnic" type="{urn:vim25}PhysicalNic" maxOccurs="unbounded" minOccurs="0"/>
* <element name="vnic" type="{urn:vim25}HostVirtualNic" maxOccurs="unbounded" minOccurs="0"/>
* <element name="consoleVnic" type="{urn:vim25}HostVirtualNic" maxOccurs="unbounded" minOccurs="0"/>
* <element name="dnsConfig" type="{urn:vim25}HostDnsConfig" minOccurs="0"/>
* <element name="ipRouteConfig" type="{urn:vim25}HostIpRouteConfig" minOccurs="0"/>
* <element name="consoleIpRouteConfig" type="{urn:vim25}HostIpRouteConfig" minOccurs="0"/>
* <element name="routeTableInfo" type="{urn:vim25}HostIpRouteTableInfo" minOccurs="0"/>
* <element name="dhcp" type="{urn:vim25}HostDhcpService" maxOccurs="unbounded" minOccurs="0"/>
* <element name="nat" type="{urn:vim25}HostNatService" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ipV6Enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="atBootIpV6Enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="netStackInstance" type="{urn:vim25}HostNetStackInstance" maxOccurs="unbounded" minOccurs="0"/>
* <element name="opaqueSwitch" type="{urn:vim25}HostOpaqueSwitch" maxOccurs="unbounded" minOccurs="0"/>
* <element name="opaqueNetwork" type="{urn:vim25}HostOpaqueNetworkInfo" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostNetworkInfo", propOrder = {
"vswitch",
"proxySwitch",
"portgroup",
"pnic",
"vnic",
"consoleVnic",
"dnsConfig",
"ipRouteConfig",
"consoleIpRouteConfig",
"routeTableInfo",
"dhcp",
"nat",
"ipV6Enabled",
"atBootIpV6Enabled",
"netStackInstance",
"opaqueSwitch",
"opaqueNetwork"
})
public class HostNetworkInfo
extends DynamicData
{
protected List vswitch;
protected List proxySwitch;
protected List portgroup;
protected List pnic;
protected List vnic;
protected List consoleVnic;
protected HostDnsConfig dnsConfig;
protected HostIpRouteConfig ipRouteConfig;
protected HostIpRouteConfig consoleIpRouteConfig;
protected HostIpRouteTableInfo routeTableInfo;
protected List dhcp;
protected List nat;
protected Boolean ipV6Enabled;
protected Boolean atBootIpV6Enabled;
protected List netStackInstance;
protected List opaqueSwitch;
protected List opaqueNetwork;
/**
* Gets the value of the vswitch 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 vswitch property.
*
*
* For example, to add a new item, do as follows:
*
* getVswitch().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostVirtualSwitch }
*
*
*/
public List getVswitch() {
if (vswitch == null) {
vswitch = new ArrayList();
}
return this.vswitch;
}
/**
* Gets the value of the proxySwitch 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 proxySwitch property.
*
*
* For example, to add a new item, do as follows:
*
* getProxySwitch().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostProxySwitch }
*
*
*/
public List getProxySwitch() {
if (proxySwitch == null) {
proxySwitch = new ArrayList();
}
return this.proxySwitch;
}
/**
* Gets the value of the portgroup 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 portgroup property.
*
*
* For example, to add a new item, do as follows:
*
* getPortgroup().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostPortGroup }
*
*
*/
public List getPortgroup() {
if (portgroup == null) {
portgroup = new ArrayList();
}
return this.portgroup;
}
/**
* 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 PhysicalNic }
*
*
*/
public List getPnic() {
if (pnic == null) {
pnic = new ArrayList();
}
return this.pnic;
}
/**
* Gets the value of the vnic 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 vnic property.
*
*
* For example, to add a new item, do as follows:
*
* getVnic().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostVirtualNic }
*
*
*/
public List getVnic() {
if (vnic == null) {
vnic = new ArrayList();
}
return this.vnic;
}
/**
* Gets the value of the consoleVnic 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 consoleVnic property.
*
*
* For example, to add a new item, do as follows:
*
* getConsoleVnic().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostVirtualNic }
*
*
*/
public List getConsoleVnic() {
if (consoleVnic == null) {
consoleVnic = new ArrayList();
}
return this.consoleVnic;
}
/**
* Gets the value of the dnsConfig property.
*
* @return
* possible object is
* {@link HostDnsConfig }
*
*/
public HostDnsConfig getDnsConfig() {
return dnsConfig;
}
/**
* Sets the value of the dnsConfig property.
*
* @param value
* allowed object is
* {@link HostDnsConfig }
*
*/
public void setDnsConfig(HostDnsConfig value) {
this.dnsConfig = value;
}
/**
* Gets the value of the ipRouteConfig property.
*
* @return
* possible object is
* {@link HostIpRouteConfig }
*
*/
public HostIpRouteConfig getIpRouteConfig() {
return ipRouteConfig;
}
/**
* Sets the value of the ipRouteConfig property.
*
* @param value
* allowed object is
* {@link HostIpRouteConfig }
*
*/
public void setIpRouteConfig(HostIpRouteConfig value) {
this.ipRouteConfig = value;
}
/**
* Gets the value of the consoleIpRouteConfig property.
*
* @return
* possible object is
* {@link HostIpRouteConfig }
*
*/
public HostIpRouteConfig getConsoleIpRouteConfig() {
return consoleIpRouteConfig;
}
/**
* Sets the value of the consoleIpRouteConfig property.
*
* @param value
* allowed object is
* {@link HostIpRouteConfig }
*
*/
public void setConsoleIpRouteConfig(HostIpRouteConfig value) {
this.consoleIpRouteConfig = value;
}
/**
* Gets the value of the routeTableInfo property.
*
* @return
* possible object is
* {@link HostIpRouteTableInfo }
*
*/
public HostIpRouteTableInfo getRouteTableInfo() {
return routeTableInfo;
}
/**
* Sets the value of the routeTableInfo property.
*
* @param value
* allowed object is
* {@link HostIpRouteTableInfo }
*
*/
public void setRouteTableInfo(HostIpRouteTableInfo value) {
this.routeTableInfo = value;
}
/**
* Gets the value of the dhcp 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 dhcp property.
*
*
* For example, to add a new item, do as follows:
*
* getDhcp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostDhcpService }
*
*
*/
public List getDhcp() {
if (dhcp == null) {
dhcp = new ArrayList();
}
return this.dhcp;
}
/**
* Gets the value of the nat 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 nat property.
*
*
* For example, to add a new item, do as follows:
*
* getNat().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostNatService }
*
*
*/
public List getNat() {
if (nat == null) {
nat = new ArrayList();
}
return this.nat;
}
/**
* Gets the value of the ipV6Enabled property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIpV6Enabled() {
return ipV6Enabled;
}
/**
* Sets the value of the ipV6Enabled property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIpV6Enabled(Boolean value) {
this.ipV6Enabled = value;
}
/**
* Gets the value of the atBootIpV6Enabled property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAtBootIpV6Enabled() {
return atBootIpV6Enabled;
}
/**
* Sets the value of the atBootIpV6Enabled property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAtBootIpV6Enabled(Boolean value) {
this.atBootIpV6Enabled = value;
}
/**
* Gets the value of the netStackInstance 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 netStackInstance property.
*
*
* For example, to add a new item, do as follows:
*
* getNetStackInstance().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostNetStackInstance }
*
*
*/
public List getNetStackInstance() {
if (netStackInstance == null) {
netStackInstance = new ArrayList();
}
return this.netStackInstance;
}
/**
* Gets the value of the opaqueSwitch 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 opaqueSwitch property.
*
*
* For example, to add a new item, do as follows:
*
* getOpaqueSwitch().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostOpaqueSwitch }
*
*
*/
public List getOpaqueSwitch() {
if (opaqueSwitch == null) {
opaqueSwitch = new ArrayList();
}
return this.opaqueSwitch;
}
/**
* Gets the value of the opaqueNetwork 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 opaqueNetwork property.
*
*
* For example, to add a new item, do as follows:
*
* getOpaqueNetwork().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostOpaqueNetworkInfo }
*
*
*/
public List getOpaqueNetwork() {
if (opaqueNetwork == null) {
opaqueNetwork = new ArrayList();
}
return this.opaqueNetwork;
}
}