![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostNetworkConfig 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 HostNetworkConfig complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostNetworkConfig">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="vswitch" type="{urn:vim25}HostVirtualSwitchConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="proxySwitch" type="{urn:vim25}HostProxySwitchConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="portgroup" type="{urn:vim25}HostPortGroupConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="pnic" type="{urn:vim25}PhysicalNicConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="vnic" type="{urn:vim25}HostVirtualNicConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="consoleVnic" type="{urn:vim25}HostVirtualNicConfig" 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="routeTableConfig" type="{urn:vim25}HostIpRouteTableConfig" minOccurs="0"/>
* <element name="dhcp" type="{urn:vim25}HostDhcpServiceConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="nat" type="{urn:vim25}HostNatServiceConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ipV6Enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="netStackSpec" type="{urn:vim25}HostNetworkConfigNetStackSpec" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostNetworkConfig", propOrder = {
"vswitch",
"proxySwitch",
"portgroup",
"pnic",
"vnic",
"consoleVnic",
"dnsConfig",
"ipRouteConfig",
"consoleIpRouteConfig",
"routeTableConfig",
"dhcp",
"nat",
"ipV6Enabled",
"netStackSpec"
})
public class HostNetworkConfig
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 HostIpRouteTableConfig routeTableConfig;
protected List dhcp;
protected List nat;
protected Boolean ipV6Enabled;
protected List netStackSpec;
/**
* 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 HostVirtualSwitchConfig }
*
*
*/
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 HostProxySwitchConfig }
*
*
*/
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 HostPortGroupConfig }
*
*
*/
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 PhysicalNicConfig }
*
*
*/
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 HostVirtualNicConfig }
*
*
*/
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 HostVirtualNicConfig }
*
*
*/
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 routeTableConfig property.
*
* @return
* possible object is
* {@link HostIpRouteTableConfig }
*
*/
public HostIpRouteTableConfig getRouteTableConfig() {
return routeTableConfig;
}
/**
* Sets the value of the routeTableConfig property.
*
* @param value
* allowed object is
* {@link HostIpRouteTableConfig }
*
*/
public void setRouteTableConfig(HostIpRouteTableConfig value) {
this.routeTableConfig = 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 HostDhcpServiceConfig }
*
*
*/
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 HostNatServiceConfig }
*
*
*/
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 netStackSpec 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 netStackSpec property.
*
*
* For example, to add a new item, do as follows:
*
* getNetStackSpec().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostNetworkConfigNetStackSpec }
*
*
*/
public List getNetStackSpec() {
if (netStackSpec == null) {
netStackSpec = new ArrayList();
}
return this.netStackSpec;
}
}