com.vmware.vim25.ClusterDrsVmConfigInfo Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ClusterDrsVmConfigInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClusterDrsVmConfigInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="key" type="{urn:vim25}ManagedObjectReference"/>
* <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="behavior" type="{urn:vim25}DrsBehavior" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClusterDrsVmConfigInfo", propOrder = {
"key",
"enabled",
"behavior"
})
public class ClusterDrsVmConfigInfo
extends DynamicData
{
@XmlElement(required = true)
protected ManagedObjectReference key;
protected Boolean enabled;
@XmlSchemaType(name = "string")
protected DrsBehavior behavior;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setKey(ManagedObjectReference value) {
this.key = value;
}
/**
* Gets the value of the enabled property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isEnabled() {
return enabled;
}
/**
* Sets the value of the enabled property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setEnabled(Boolean value) {
this.enabled = value;
}
/**
* Gets the value of the behavior property.
*
* @return
* possible object is
* {@link DrsBehavior }
*
*/
public DrsBehavior getBehavior() {
return behavior;
}
/**
* Sets the value of the behavior property.
*
* @param value
* allowed object is
* {@link DrsBehavior }
*
*/
public void setBehavior(DrsBehavior value) {
this.behavior = value;
}
}