public class VirtualMachineCreateChildSpec extends DynamicData
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>
| Modifier and Type | Field and Description |
|---|---|
protected List<OptionValue> |
configParams |
protected VirtualMachineRelocateSpec |
location |
protected boolean |
persistent |
| Constructor and Description |
|---|
VirtualMachineCreateChildSpec() |
| Modifier and Type | Method and Description |
|---|---|
List<OptionValue> |
getConfigParams()
Gets the value of the configParams property.
|
VirtualMachineRelocateSpec |
getLocation()
Gets the value of the location property.
|
boolean |
isPersistent()
Gets the value of the persistent property.
|
void |
setLocation(VirtualMachineRelocateSpec value)
Sets the value of the location property.
|
void |
setPersistent(boolean value)
Sets the value of the persistent property.
|
protected VirtualMachineRelocateSpec location
protected boolean persistent
protected List<OptionValue> configParams
public VirtualMachineRelocateSpec getLocation()
VirtualMachineRelocateSpecpublic void setLocation(VirtualMachineRelocateSpec value)
value - allowed object is
VirtualMachineRelocateSpecpublic boolean isPersistent()
public void setPersistent(boolean value)
public List<OptionValue> getConfigParams()
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
OptionValue
Copyright © 2018. All rights reserved.