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