
com.vmware.vim.HostNetworkConfig Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
package com.vmware.vim;
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:vim2}DynamicData">
* <sequence>
* <element name="vswitch" type="{urn:vim2}HostVirtualSwitchConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="portgroup" type="{urn:vim2}HostPortGroupConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="pnic" type="{urn:vim2}PhysicalNicConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="vnic" type="{urn:vim2}HostVirtualNicConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="consoleVnic" type="{urn:vim2}HostVirtualNicConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="dnsConfig" type="{urn:vim2}HostDnsConfig" minOccurs="0"/>
* <element name="ipRouteConfig" type="{urn:vim2}HostIpRouteConfig" minOccurs="0"/>
* <element name="consoleIpRouteConfig" type="{urn:vim2}HostIpRouteConfig" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostNetworkConfig", propOrder = {
"vswitch",
"portgroup",
"pnic",
"vnic",
"consoleVnic",
"dnsConfig",
"ipRouteConfig",
"consoleIpRouteConfig"
})
public class HostNetworkConfig
extends DynamicData
{
protected List vswitch;
protected List portgroup;
protected List pnic;
protected List vnic;
protected List consoleVnic;
protected HostDnsConfig dnsConfig;
protected HostIpRouteConfig ipRouteConfig;
protected HostIpRouteConfig consoleIpRouteConfig;
/**
* 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 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;
}
/**
* Sets the value of the vswitch property.
*
* @param vswitch
* allowed object is
* {@link HostVirtualSwitchConfig }
*
*/
public void setVswitch(List vswitch) {
this.vswitch = vswitch;
}
/**
* Sets the value of the portgroup property.
*
* @param portgroup
* allowed object is
* {@link HostPortGroupConfig }
*
*/
public void setPortgroup(List portgroup) {
this.portgroup = portgroup;
}
/**
* Sets the value of the pnic property.
*
* @param pnic
* allowed object is
* {@link PhysicalNicConfig }
*
*/
public void setPnic(List pnic) {
this.pnic = pnic;
}
/**
* Sets the value of the vnic property.
*
* @param vnic
* allowed object is
* {@link HostVirtualNicConfig }
*
*/
public void setVnic(List vnic) {
this.vnic = vnic;
}
/**
* Sets the value of the consoleVnic property.
*
* @param consoleVnic
* allowed object is
* {@link HostVirtualNicConfig }
*
*/
public void setConsoleVnic(List consoleVnic) {
this.consoleVnic = consoleVnic;
}
}