
com.vmware.vim25.VMwareDVSConfigInfo Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
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 VMwareDVSConfigInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VMwareDVSConfigInfo">
* <complexContent>
* <extension base="{urn:vim25}DVSConfigInfo">
* <sequence>
* <element name="pvlanConfig" type="{urn:vim25}VMwareDVSPvlanMapEntry" maxOccurs="unbounded" minOccurs="0"/>
* <element name="maxMtu" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="linkDiscoveryProtocolConfig" type="{urn:vim25}LinkDiscoveryProtocolConfig" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VMwareDVSConfigInfo", propOrder = {
"pvlanConfig",
"maxMtu",
"linkDiscoveryProtocolConfig"
})
public class VMwareDVSConfigInfo
extends DVSConfigInfo
{
protected List pvlanConfig;
protected int maxMtu;
protected LinkDiscoveryProtocolConfig linkDiscoveryProtocolConfig;
/**
* Gets the value of the pvlanConfig 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 pvlanConfig property.
*
*
* For example, to add a new item, do as follows:
*
* getPvlanConfig().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VMwareDVSPvlanMapEntry }
*
*
*/
public List getPvlanConfig() {
if (pvlanConfig == null) {
pvlanConfig = new ArrayList();
}
return this.pvlanConfig;
}
/**
* Gets the value of the maxMtu property.
*
*/
public int getMaxMtu() {
return maxMtu;
}
/**
* Sets the value of the maxMtu property.
*
*/
public void setMaxMtu(int value) {
this.maxMtu = value;
}
/**
* Gets the value of the linkDiscoveryProtocolConfig property.
*
* @return
* possible object is
* {@link LinkDiscoveryProtocolConfig }
*
*/
public LinkDiscoveryProtocolConfig getLinkDiscoveryProtocolConfig() {
return linkDiscoveryProtocolConfig;
}
/**
* Sets the value of the linkDiscoveryProtocolConfig property.
*
* @param value
* allowed object is
* {@link LinkDiscoveryProtocolConfig }
*
*/
public void setLinkDiscoveryProtocolConfig(LinkDiscoveryProtocolConfig value) {
this.linkDiscoveryProtocolConfig = value;
}
/**
* Sets the value of the pvlanConfig property.
*
* @param pvlanConfig
* allowed object is
* {@link VMwareDVSPvlanMapEntry }
*
*/
public void setPvlanConfig(List pvlanConfig) {
this.pvlanConfig = pvlanConfig;
}
}