public class DatacenterMismatch extends MigrationFault
Java class for DatacenterMismatch complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DatacenterMismatch">
<complexContent>
<extension base="{urn:vim25}MigrationFault">
<sequence>
<element name="invalidArgument" type="{urn:vim25}DatacenterMismatchArgument" maxOccurs="unbounded"/>
<element name="expectedDatacenter" type="{urn:vim25}ManagedObjectReference"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
expectedDatacenter |
protected List<DatacenterMismatchArgument> |
invalidArgument |
faultCause, faultMessage| Constructor and Description |
|---|
DatacenterMismatch() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getExpectedDatacenter()
Gets the value of the expectedDatacenter property.
|
List<DatacenterMismatchArgument> |
getInvalidArgument()
Gets the value of the invalidArgument property.
|
void |
setExpectedDatacenter(ManagedObjectReference value)
Sets the value of the expectedDatacenter property.
|
getFaultCause, getFaultMessage, setFaultCauseprotected List<DatacenterMismatchArgument> invalidArgument
protected ManagedObjectReference expectedDatacenter
public List<DatacenterMismatchArgument> getInvalidArgument()
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 invalidArgument property.
For example, to add a new item, do as follows:
getInvalidArgument().add(newItem);
Objects of the following type(s) are allowed in the list
DatacenterMismatchArgument
public ManagedObjectReference getExpectedDatacenter()
ManagedObjectReferencepublic void setExpectedDatacenter(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferenceCopyright © 2018. All rights reserved.