com.vmware.vim25.VAppCloneSpec 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 VAppCloneSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VAppCloneSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="location" type="{urn:vim25}ManagedObjectReference"/>
* <element name="host" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* <element name="resourceSpec" type="{urn:vim25}ResourceConfigSpec" minOccurs="0"/>
* <element name="vmFolder" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* <element name="networkMapping" type="{urn:vim25}VAppCloneSpecNetworkMappingPair" maxOccurs="unbounded" minOccurs="0"/>
* <element name="property" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
* <element name="resourceMapping" type="{urn:vim25}VAppCloneSpecResourceMap" maxOccurs="unbounded" minOccurs="0"/>
* <element name="provisioning" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VAppCloneSpec", propOrder = {
"location",
"host",
"resourceSpec",
"vmFolder",
"networkMapping",
"property",
"resourceMapping",
"provisioning"
})
public class VAppCloneSpec
extends DynamicData
{
@XmlElement(required = true)
protected ManagedObjectReference location;
protected ManagedObjectReference host;
protected ResourceConfigSpec resourceSpec;
protected ManagedObjectReference vmFolder;
protected List networkMapping;
protected List property;
protected List resourceMapping;
protected String provisioning;
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setLocation(ManagedObjectReference value) {
this.location = value;
}
/**
* Gets the value of the host property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getHost() {
return host;
}
/**
* Sets the value of the host property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setHost(ManagedObjectReference value) {
this.host = value;
}
/**
* Gets the value of the resourceSpec property.
*
* @return
* possible object is
* {@link ResourceConfigSpec }
*
*/
public ResourceConfigSpec getResourceSpec() {
return resourceSpec;
}
/**
* Sets the value of the resourceSpec property.
*
* @param value
* allowed object is
* {@link ResourceConfigSpec }
*
*/
public void setResourceSpec(ResourceConfigSpec value) {
this.resourceSpec = value;
}
/**
* Gets the value of the vmFolder property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getVmFolder() {
return vmFolder;
}
/**
* Sets the value of the vmFolder property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setVmFolder(ManagedObjectReference value) {
this.vmFolder = value;
}
/**
* Gets the value of the networkMapping 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 networkMapping property.
*
*
* For example, to add a new item, do as follows:
*
* getNetworkMapping().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VAppCloneSpecNetworkMappingPair }
*
*
*/
public List getNetworkMapping() {
if (networkMapping == null) {
networkMapping = new ArrayList();
}
return this.networkMapping;
}
/**
* Gets the value of the property 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 property property.
*
*
* For example, to add a new item, do as follows:
*
* getProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KeyValue }
*
*
*/
public List getProperty() {
if (property == null) {
property = new ArrayList();
}
return this.property;
}
/**
* Gets the value of the resourceMapping 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 resourceMapping property.
*
*
* For example, to add a new item, do as follows:
*
* getResourceMapping().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VAppCloneSpecResourceMap }
*
*
*/
public List getResourceMapping() {
if (resourceMapping == null) {
resourceMapping = new ArrayList();
}
return this.resourceMapping;
}
/**
* Gets the value of the provisioning property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProvisioning() {
return provisioning;
}
/**
* Sets the value of the provisioning property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProvisioning(String value) {
this.provisioning = value;
}
}