public class VirtualMachineRelocateSpec extends DynamicData
Java class for VirtualMachineRelocateSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualMachineRelocateSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="service" type="{urn:vim25}ServiceLocator" minOccurs="0"/>
<element name="folder" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="datastore" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="diskMoveType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="pool" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="host" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="disk" type="{urn:vim25}VirtualMachineRelocateSpecDiskLocator" maxOccurs="unbounded" minOccurs="0"/>
<element name="transform" type="{urn:vim25}VirtualMachineRelocateTransformation" minOccurs="0"/>
<element name="deviceChange" type="{urn:vim25}VirtualDeviceConfigSpec" maxOccurs="unbounded" minOccurs="0"/>
<element name="profile" type="{urn:vim25}VirtualMachineProfileSpec" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
datastore |
protected List<VirtualDeviceConfigSpec> |
deviceChange |
protected List<VirtualMachineRelocateSpecDiskLocator> |
disk |
protected String |
diskMoveType |
protected ManagedObjectReference |
folder |
protected ManagedObjectReference |
host |
protected ManagedObjectReference |
pool |
protected List<VirtualMachineProfileSpec> |
profile |
protected ServiceLocator |
service |
protected VirtualMachineRelocateTransformation |
transform |
| Constructor and Description |
|---|
VirtualMachineRelocateSpec() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getDatastore()
Gets the value of the datastore property.
|
List<VirtualDeviceConfigSpec> |
getDeviceChange()
Gets the value of the deviceChange property.
|
List<VirtualMachineRelocateSpecDiskLocator> |
getDisk()
Gets the value of the disk property.
|
String |
getDiskMoveType()
Gets the value of the diskMoveType property.
|
ManagedObjectReference |
getFolder()
Gets the value of the folder property.
|
ManagedObjectReference |
getHost()
Gets the value of the host property.
|
ManagedObjectReference |
getPool()
Gets the value of the pool property.
|
List<VirtualMachineProfileSpec> |
getProfile()
Gets the value of the profile property.
|
ServiceLocator |
getService()
Gets the value of the service property.
|
VirtualMachineRelocateTransformation |
getTransform()
Gets the value of the transform property.
|
void |
setDatastore(ManagedObjectReference value)
Sets the value of the datastore property.
|
void |
setDiskMoveType(String value)
Sets the value of the diskMoveType property.
|
void |
setFolder(ManagedObjectReference value)
Sets the value of the folder property.
|
void |
setHost(ManagedObjectReference value)
Sets the value of the host property.
|
void |
setPool(ManagedObjectReference value)
Sets the value of the pool property.
|
void |
setService(ServiceLocator value)
Sets the value of the service property.
|
void |
setTransform(VirtualMachineRelocateTransformation value)
Sets the value of the transform property.
|
protected ServiceLocator service
protected ManagedObjectReference folder
protected ManagedObjectReference datastore
protected String diskMoveType
protected ManagedObjectReference pool
protected ManagedObjectReference host
protected List<VirtualMachineRelocateSpecDiskLocator> disk
protected VirtualMachineRelocateTransformation transform
protected List<VirtualDeviceConfigSpec> deviceChange
protected List<VirtualMachineProfileSpec> profile
public ServiceLocator getService()
ServiceLocatorpublic void setService(ServiceLocator value)
value - allowed object is
ServiceLocatorpublic ManagedObjectReference getFolder()
ManagedObjectReferencepublic void setFolder(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ManagedObjectReference getDatastore()
ManagedObjectReferencepublic void setDatastore(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getDiskMoveType()
Stringpublic void setDiskMoveType(String value)
value - allowed object is
Stringpublic ManagedObjectReference getPool()
ManagedObjectReferencepublic void setPool(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ManagedObjectReference getHost()
ManagedObjectReferencepublic void setHost(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic List<VirtualMachineRelocateSpecDiskLocator> getDisk()
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 disk property.
For example, to add a new item, do as follows:
getDisk().add(newItem);
Objects of the following type(s) are allowed in the list
VirtualMachineRelocateSpecDiskLocator
public VirtualMachineRelocateTransformation getTransform()
VirtualMachineRelocateTransformationpublic void setTransform(VirtualMachineRelocateTransformation value)
value - allowed object is
VirtualMachineRelocateTransformationpublic List<VirtualDeviceConfigSpec> getDeviceChange()
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 deviceChange property.
For example, to add a new item, do as follows:
getDeviceChange().add(newItem);
Objects of the following type(s) are allowed in the list
VirtualDeviceConfigSpec
public List<VirtualMachineProfileSpec> getProfile()
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 profile property.
For example, to add a new item, do as follows:
getProfile().add(newItem);
Objects of the following type(s) are allowed in the list
VirtualMachineProfileSpec
Copyright © 2018. All rights reserved.