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