public class ValidateMigrationRequestType extends Object
Java class for ValidateMigrationRequestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValidateMigrationRequestType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="_this" type="{urn:vim25}ManagedObjectReference"/>
<element name="vm" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded"/>
<element name="state" type="{urn:vim25}VirtualMachinePowerState" minOccurs="0"/>
<element name="testType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="pool" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="host" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
_this |
protected ManagedObjectReference |
host |
protected ManagedObjectReference |
pool |
protected VirtualMachinePowerState |
state |
protected List<String> |
testType |
protected List<ManagedObjectReference> |
vm |
| Constructor and Description |
|---|
ValidateMigrationRequestType() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getHost()
Gets the value of the host property.
|
ManagedObjectReference |
getPool()
Gets the value of the pool property.
|
VirtualMachinePowerState |
getState()
Gets the value of the state property.
|
List<String> |
getTestType()
Gets the value of the testType property.
|
ManagedObjectReference |
getThis()
Gets the value of the this property.
|
List<ManagedObjectReference> |
getVm()
Gets the value of the vm property.
|
void |
setHost(ManagedObjectReference value)
Sets the value of the host property.
|
void |
setPool(ManagedObjectReference value)
Sets the value of the pool property.
|
void |
setState(VirtualMachinePowerState value)
Sets the value of the state property.
|
void |
setThis(ManagedObjectReference value)
Sets the value of the this property.
|
protected ManagedObjectReference _this
protected List<ManagedObjectReference> vm
protected VirtualMachinePowerState state
protected ManagedObjectReference pool
protected ManagedObjectReference host
public ManagedObjectReference getThis()
ManagedObjectReferencepublic void setThis(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic List<ManagedObjectReference> getVm()
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 vm property.
For example, to add a new item, do as follows:
getVm().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
public VirtualMachinePowerState getState()
VirtualMachinePowerStatepublic void setState(VirtualMachinePowerState value)
value - allowed object is
VirtualMachinePowerStatepublic List<String> getTestType()
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 testType property.
For example, to add a new item, do as follows:
getTestType().add(newItem);
Objects of the following type(s) are allowed in the list
String
public ManagedObjectReference getPool()
ManagedObjectReferencepublic void setPool(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ManagedObjectReference getHost()
ManagedObjectReferencepublic void setHost(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferenceCopyright © 2018. All rights reserved.