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