com.vmware.vim25.ClusterDrsRecommendation Maven / Gradle / Ivy
Show all versions of dasein-cloud-vsphere Show documentation
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ClusterDrsRecommendation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClusterDrsRecommendation">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="rating" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="reasonText" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="migrationList" type="{urn:vim25}ClusterDrsMigration" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClusterDrsRecommendation", propOrder = {
"key",
"rating",
"reason",
"reasonText",
"migrationList"
})
public class ClusterDrsRecommendation
extends DynamicData
{
@XmlElement(required = true)
protected String key;
protected int rating;
@XmlElement(required = true)
protected String reason;
@XmlElement(required = true)
protected String reasonText;
@XmlElement(required = true)
protected List migrationList;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the rating property.
*
*/
public int getRating() {
return rating;
}
/**
* Sets the value of the rating property.
*
*/
public void setRating(int value) {
this.rating = value;
}
/**
* Gets the value of the reason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReason() {
return reason;
}
/**
* Sets the value of the reason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReason(String value) {
this.reason = value;
}
/**
* Gets the value of the reasonText property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReasonText() {
return reasonText;
}
/**
* Sets the value of the reasonText property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReasonText(String value) {
this.reasonText = value;
}
/**
* Gets the value of the migrationList 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 migrationList property.
*
*
* For example, to add a new item, do as follows:
*
* getMigrationList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ClusterDrsMigration }
*
*
*/
public List getMigrationList() {
if (migrationList == null) {
migrationList = new ArrayList();
}
return this.migrationList;
}
}