![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualMachineCreateChildSpec 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.XmlType;
/**
* Java class for VirtualMachineCreateChildSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualMachineCreateChildSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="location" type="{urn:vim25}VirtualMachineRelocateSpec" minOccurs="0"/>
* <element name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="configParams" type="{urn:vim25}OptionValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualMachineCreateChildSpec", propOrder = {
"location",
"persistent",
"configParams"
})
public class VirtualMachineCreateChildSpec
extends DynamicData
{
protected VirtualMachineRelocateSpec location;
protected boolean persistent;
protected List configParams;
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link VirtualMachineRelocateSpec }
*
*/
public VirtualMachineRelocateSpec getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link VirtualMachineRelocateSpec }
*
*/
public void setLocation(VirtualMachineRelocateSpec value) {
this.location = value;
}
/**
* Gets the value of the persistent property.
*
*/
public boolean isPersistent() {
return persistent;
}
/**
* Sets the value of the persistent property.
*
*/
public void setPersistent(boolean value) {
this.persistent = value;
}
/**
* Gets the value of the configParams 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 configParams property.
*
*
* For example, to add a new item, do as follows:
*
* getConfigParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OptionValue }
*
*
*/
public List getConfigParams() {
if (configParams == null) {
configParams = new ArrayList();
}
return this.configParams;
}
}