com.vmware.vim25.DvsProfile 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 DvsProfile complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DvsProfile">
* <complexContent>
* <extension base="{urn:vim25}ApplyProfile">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="uplink" type="{urn:vim25}PnicUplinkProfile" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DvsProfile", propOrder = {
"key",
"name",
"uplink"
})
public class DvsProfile
extends ApplyProfile
{
@XmlElement(required = true)
protected String key;
@XmlElement(required = true)
protected String name;
protected List uplink;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the uplink 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 uplink property.
*
*
* For example, to add a new item, do as follows:
*
* getUplink().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PnicUplinkProfile }
*
*
*/
public List getUplink() {
if (uplink == null) {
uplink = new ArrayList();
}
return this.uplink;
}
}