public class VirtualMachineCloneSpec extends DynamicData
Java class for VirtualMachineCloneSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualMachineCloneSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="location" type="{urn:vim25}VirtualMachineRelocateSpec"/>
<element name="template" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="config" type="{urn:vim25}VirtualMachineConfigSpec" minOccurs="0"/>
<element name="customization" type="{urn:vim25}CustomizationSpec" minOccurs="0"/>
<element name="powerOn" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="snapshot" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="memory" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected VirtualMachineConfigSpec |
config |
protected CustomizationSpec |
customization |
protected VirtualMachineRelocateSpec |
location |
protected Boolean |
memory |
protected boolean |
powerOn |
protected ManagedObjectReference |
snapshot |
protected boolean |
template |
| Constructor and Description |
|---|
VirtualMachineCloneSpec() |
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineConfigSpec |
getConfig()
Gets the value of the config property.
|
CustomizationSpec |
getCustomization()
Gets the value of the customization property.
|
VirtualMachineRelocateSpec |
getLocation()
Gets the value of the location property.
|
ManagedObjectReference |
getSnapshot()
Gets the value of the snapshot property.
|
Boolean |
isMemory()
Gets the value of the memory property.
|
boolean |
isPowerOn()
Gets the value of the powerOn property.
|
boolean |
isTemplate()
Gets the value of the template property.
|
void |
setConfig(VirtualMachineConfigSpec value)
Sets the value of the config property.
|
void |
setCustomization(CustomizationSpec value)
Sets the value of the customization property.
|
void |
setLocation(VirtualMachineRelocateSpec value)
Sets the value of the location property.
|
void |
setMemory(Boolean value)
Sets the value of the memory property.
|
void |
setPowerOn(boolean value)
Sets the value of the powerOn property.
|
void |
setSnapshot(ManagedObjectReference value)
Sets the value of the snapshot property.
|
void |
setTemplate(boolean value)
Sets the value of the template property.
|
protected VirtualMachineRelocateSpec location
protected boolean template
protected VirtualMachineConfigSpec config
protected CustomizationSpec customization
protected boolean powerOn
protected ManagedObjectReference snapshot
protected Boolean memory
public VirtualMachineRelocateSpec getLocation()
VirtualMachineRelocateSpecpublic void setLocation(VirtualMachineRelocateSpec value)
value - allowed object is
VirtualMachineRelocateSpecpublic boolean isTemplate()
public void setTemplate(boolean value)
public VirtualMachineConfigSpec getConfig()
VirtualMachineConfigSpecpublic void setConfig(VirtualMachineConfigSpec value)
value - allowed object is
VirtualMachineConfigSpecpublic CustomizationSpec getCustomization()
CustomizationSpecpublic void setCustomization(CustomizationSpec value)
value - allowed object is
CustomizationSpecpublic boolean isPowerOn()
public void setPowerOn(boolean value)
public ManagedObjectReference getSnapshot()
ManagedObjectReferencepublic void setSnapshot(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic Boolean isMemory()
BooleanCopyright © 2018. All rights reserved.