com.vmware.vim25.StoragePlacementResult Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StoragePlacementResult", propOrder = {
"recommendations",
"drsFault",
"task"
})
public class StoragePlacementResult
extends DynamicData
{
protected List recommendations;
protected ClusterDrsFaults drsFault;
protected ManagedObjectReference task;
/**
* Gets the value of the recommendations property.
*
*
* 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
* {@link ClusterRecommendation }
*
*
*/
public List getRecommendations() {
if (recommendations == null) {
recommendations = new ArrayList();
}
return this.recommendations;
}
/**
* Gets the value of the drsFault property.
*
* @return
* possible object is
* {@link ClusterDrsFaults }
*
*/
public ClusterDrsFaults getDrsFault() {
return drsFault;
}
/**
* Sets the value of the drsFault property.
*
* @param value
* allowed object is
* {@link ClusterDrsFaults }
*
*/
public void setDrsFault(ClusterDrsFaults value) {
this.drsFault = value;
}
/**
* Gets the value of the task property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getTask() {
return task;
}
/**
* Sets the value of the task property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setTask(ManagedObjectReference value) {
this.task = value;
}
}