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