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