public class VirtualMachineRelocateSpecDiskLocator extends DynamicData
Java class for VirtualMachineRelocateSpecDiskLocator complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualMachineRelocateSpecDiskLocator">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="diskId" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="datastore" type="{urn:vim25}ManagedObjectReference"/>
<element name="diskMoveType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="diskBackingInfo" type="{urn:vim25}VirtualDeviceBackingInfo" 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 VirtualDeviceBackingInfo |
diskBackingInfo |
protected int |
diskId |
protected String |
diskMoveType |
protected List<VirtualMachineProfileSpec> |
profile |
| Constructor and Description |
|---|
VirtualMachineRelocateSpecDiskLocator() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getDatastore()
Gets the value of the datastore property.
|
VirtualDeviceBackingInfo |
getDiskBackingInfo()
Gets the value of the diskBackingInfo property.
|
int |
getDiskId()
Gets the value of the diskId property.
|
String |
getDiskMoveType()
Gets the value of the diskMoveType property.
|
List<VirtualMachineProfileSpec> |
getProfile()
Gets the value of the profile property.
|
void |
setDatastore(ManagedObjectReference value)
Sets the value of the datastore property.
|
void |
setDiskBackingInfo(VirtualDeviceBackingInfo value)
Sets the value of the diskBackingInfo property.
|
void |
setDiskId(int value)
Sets the value of the diskId property.
|
void |
setDiskMoveType(String value)
Sets the value of the diskMoveType property.
|
protected int diskId
protected ManagedObjectReference datastore
protected String diskMoveType
protected VirtualDeviceBackingInfo diskBackingInfo
protected List<VirtualMachineProfileSpec> profile
public VirtualMachineRelocateSpecDiskLocator()
public int getDiskId()
public void setDiskId(int value)
public ManagedObjectReference getDatastore()
ManagedObjectReferencepublic void setDatastore(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getDiskMoveType()
Stringpublic void setDiskMoveType(String value)
value - allowed object is
Stringpublic VirtualDeviceBackingInfo getDiskBackingInfo()
VirtualDeviceBackingInfopublic void setDiskBackingInfo(VirtualDeviceBackingInfo value)
value - allowed object is
VirtualDeviceBackingInfopublic 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.