public class ClusterDrsFaults extends DynamicData
Java class for ClusterDrsFaults complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClusterDrsFaults">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="reason" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="faultsByVm" type="{urn:vim25}ClusterDrsFaultsFaultsByVm" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ClusterDrsFaultsFaultsByVm> |
faultsByVm |
protected String |
reason |
| Constructor and Description |
|---|
ClusterDrsFaults() |
| Modifier and Type | Method and Description |
|---|---|
List<ClusterDrsFaultsFaultsByVm> |
getFaultsByVm()
Gets the value of the faultsByVm property.
|
String |
getReason()
Gets the value of the reason property.
|
void |
setReason(String value)
Sets the value of the reason property.
|
protected String reason
protected List<ClusterDrsFaultsFaultsByVm> faultsByVm
public String getReason()
Stringpublic void setReason(String value)
value - allowed object is
Stringpublic List<ClusterDrsFaultsFaultsByVm> getFaultsByVm()
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 faultsByVm property.
For example, to add a new item, do as follows:
getFaultsByVm().add(newItem);
Objects of the following type(s) are allowed in the list
ClusterDrsFaultsFaultsByVm
Copyright © 2018. All rights reserved.