com.vmware.vim25.VirtualMachineConfigOptionDescriptor 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for VirtualMachineConfigOptionDescriptor complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualMachineConfigOptionDescriptor">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="host" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="createSupported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="defaultConfigOption" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="runSupported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="upgradeSupported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualMachineConfigOptionDescriptor", propOrder = {
"key",
"description",
"host",
"createSupported",
"defaultConfigOption",
"runSupported",
"upgradeSupported"
})
public class VirtualMachineConfigOptionDescriptor
extends DynamicData
{
@XmlElement(required = true)
protected String key;
protected String description;
protected List host;
protected Boolean createSupported;
protected Boolean defaultConfigOption;
protected Boolean runSupported;
protected Boolean upgradeSupported;
/**
* 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 description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the host 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 host property.
*
*
* For example, to add a new item, do as follows:
*
* getHost().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getHost() {
if (host == null) {
host = new ArrayList();
}
return this.host;
}
/**
* Gets the value of the createSupported property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCreateSupported() {
return createSupported;
}
/**
* Sets the value of the createSupported property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCreateSupported(Boolean value) {
this.createSupported = value;
}
/**
* Gets the value of the defaultConfigOption property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDefaultConfigOption() {
return defaultConfigOption;
}
/**
* Sets the value of the defaultConfigOption property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDefaultConfigOption(Boolean value) {
this.defaultConfigOption = value;
}
/**
* Gets the value of the runSupported property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRunSupported() {
return runSupported;
}
/**
* Sets the value of the runSupported property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRunSupported(Boolean value) {
this.runSupported = value;
}
/**
* Gets the value of the upgradeSupported property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUpgradeSupported() {
return upgradeSupported;
}
/**
* Sets the value of the upgradeSupported property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUpgradeSupported(Boolean value) {
this.upgradeSupported = value;
}
}