com.vmware.vim25.HostProxySwitchHostLagConfig 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 HostProxySwitchHostLagConfig complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostProxySwitchHostLagConfig">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="lagKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="lagName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="uplinkPort" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostProxySwitchHostLagConfig", propOrder = {
"lagKey",
"lagName",
"uplinkPort"
})
public class HostProxySwitchHostLagConfig
extends DynamicData
{
@XmlElement(required = true)
protected String lagKey;
protected String lagName;
protected List uplinkPort;
/**
* Gets the value of the lagKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLagKey() {
return lagKey;
}
/**
* Sets the value of the lagKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLagKey(String value) {
this.lagKey = value;
}
/**
* Gets the value of the lagName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLagName() {
return lagName;
}
/**
* Sets the value of the lagName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLagName(String value) {
this.lagName = 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;
}
}