public class MoveVirtualDiskRequestType extends Object
Java class for MoveVirtualDiskRequestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MoveVirtualDiskRequestType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="_this" type="{urn:vim25}ManagedObjectReference"/>
<element name="sourceName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="sourceDatacenter" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="destName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="destDatacenter" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="force" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="profile" type="{urn:vim25}VirtualMachineProfileSpec" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
_this |
protected ManagedObjectReference |
destDatacenter |
protected String |
destName |
protected Boolean |
force |
protected List<VirtualMachineProfileSpec> |
profile |
protected ManagedObjectReference |
sourceDatacenter |
protected String |
sourceName |
| Constructor and Description |
|---|
MoveVirtualDiskRequestType() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getDestDatacenter()
Gets the value of the destDatacenter property.
|
String |
getDestName()
Gets the value of the destName property.
|
List<VirtualMachineProfileSpec> |
getProfile()
Gets the value of the profile property.
|
ManagedObjectReference |
getSourceDatacenter()
Gets the value of the sourceDatacenter property.
|
String |
getSourceName()
Gets the value of the sourceName property.
|
ManagedObjectReference |
getThis()
Gets the value of the this property.
|
Boolean |
isForce()
Gets the value of the force property.
|
void |
setDestDatacenter(ManagedObjectReference value)
Sets the value of the destDatacenter property.
|
void |
setDestName(String value)
Sets the value of the destName property.
|
void |
setForce(Boolean value)
Sets the value of the force property.
|
void |
setSourceDatacenter(ManagedObjectReference value)
Sets the value of the sourceDatacenter property.
|
void |
setSourceName(String value)
Sets the value of the sourceName property.
|
void |
setThis(ManagedObjectReference value)
Sets the value of the this property.
|
protected ManagedObjectReference _this
protected String sourceName
protected ManagedObjectReference sourceDatacenter
protected String destName
protected ManagedObjectReference destDatacenter
protected Boolean force
protected List<VirtualMachineProfileSpec> profile
public ManagedObjectReference getThis()
ManagedObjectReferencepublic void setThis(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getSourceName()
Stringpublic void setSourceName(String value)
value - allowed object is
Stringpublic ManagedObjectReference getSourceDatacenter()
ManagedObjectReferencepublic void setSourceDatacenter(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getDestName()
Stringpublic void setDestName(String value)
value - allowed object is
Stringpublic ManagedObjectReference getDestDatacenter()
ManagedObjectReferencepublic void setDestDatacenter(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic Boolean isForce()
Booleanpublic void setForce(Boolean value)
value - allowed object is
Booleanpublic 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.