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