![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualMachineConfigOption 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 VirtualMachineConfigOption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualMachineConfigOption">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="guestOSDescriptor" type="{urn:vim25}GuestOsDescriptor" maxOccurs="unbounded"/>
* <element name="guestOSDefaultIndex" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="hardwareOptions" type="{urn:vim25}VirtualHardwareOption"/>
* <element name="capabilities" type="{urn:vim25}VirtualMachineCapability"/>
* <element name="datastore" type="{urn:vim25}DatastoreOption"/>
* <element name="defaultDevice" type="{urn:vim25}VirtualDevice" maxOccurs="unbounded" minOccurs="0"/>
* <element name="supportedMonitorType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
* <element name="supportedOvfEnvironmentTransport" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="supportedOvfInstallTransport" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualMachineConfigOption", propOrder = {
"version",
"description",
"guestOSDescriptor",
"guestOSDefaultIndex",
"hardwareOptions",
"capabilities",
"datastore",
"defaultDevice",
"supportedMonitorType",
"supportedOvfEnvironmentTransport",
"supportedOvfInstallTransport"
})
public class VirtualMachineConfigOption
extends DynamicData
{
@XmlElement(required = true)
protected String version;
@XmlElement(required = true)
protected String description;
@XmlElement(required = true)
protected List guestOSDescriptor;
protected int guestOSDefaultIndex;
@XmlElement(required = true)
protected VirtualHardwareOption hardwareOptions;
@XmlElement(required = true)
protected VirtualMachineCapability capabilities;
@XmlElement(required = true)
protected DatastoreOption datastore;
protected List defaultDevice;
@XmlElement(required = true)
protected List supportedMonitorType;
protected List supportedOvfEnvironmentTransport;
protected List supportedOvfInstallTransport;
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = 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 guestOSDescriptor 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 guestOSDescriptor property.
*
*
* For example, to add a new item, do as follows:
*
* getGuestOSDescriptor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GuestOsDescriptor }
*
*
*/
public List getGuestOSDescriptor() {
if (guestOSDescriptor == null) {
guestOSDescriptor = new ArrayList();
}
return this.guestOSDescriptor;
}
/**
* Gets the value of the guestOSDefaultIndex property.
*
*/
public int getGuestOSDefaultIndex() {
return guestOSDefaultIndex;
}
/**
* Sets the value of the guestOSDefaultIndex property.
*
*/
public void setGuestOSDefaultIndex(int value) {
this.guestOSDefaultIndex = value;
}
/**
* Gets the value of the hardwareOptions property.
*
* @return
* possible object is
* {@link VirtualHardwareOption }
*
*/
public VirtualHardwareOption getHardwareOptions() {
return hardwareOptions;
}
/**
* Sets the value of the hardwareOptions property.
*
* @param value
* allowed object is
* {@link VirtualHardwareOption }
*
*/
public void setHardwareOptions(VirtualHardwareOption value) {
this.hardwareOptions = value;
}
/**
* Gets the value of the capabilities property.
*
* @return
* possible object is
* {@link VirtualMachineCapability }
*
*/
public VirtualMachineCapability getCapabilities() {
return capabilities;
}
/**
* Sets the value of the capabilities property.
*
* @param value
* allowed object is
* {@link VirtualMachineCapability }
*
*/
public void setCapabilities(VirtualMachineCapability value) {
this.capabilities = value;
}
/**
* Gets the value of the datastore property.
*
* @return
* possible object is
* {@link DatastoreOption }
*
*/
public DatastoreOption getDatastore() {
return datastore;
}
/**
* Sets the value of the datastore property.
*
* @param value
* allowed object is
* {@link DatastoreOption }
*
*/
public void setDatastore(DatastoreOption value) {
this.datastore = value;
}
/**
* Gets the value of the defaultDevice 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 defaultDevice property.
*
*
* For example, to add a new item, do as follows:
*
* getDefaultDevice().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualDevice }
*
*
*/
public List getDefaultDevice() {
if (defaultDevice == null) {
defaultDevice = new ArrayList();
}
return this.defaultDevice;
}
/**
* Gets the value of the supportedMonitorType 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 supportedMonitorType property.
*
*
* For example, to add a new item, do as follows:
*
* getSupportedMonitorType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSupportedMonitorType() {
if (supportedMonitorType == null) {
supportedMonitorType = new ArrayList();
}
return this.supportedMonitorType;
}
/**
* Gets the value of the supportedOvfEnvironmentTransport 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 supportedOvfEnvironmentTransport property.
*
*
* For example, to add a new item, do as follows:
*
* getSupportedOvfEnvironmentTransport().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSupportedOvfEnvironmentTransport() {
if (supportedOvfEnvironmentTransport == null) {
supportedOvfEnvironmentTransport = new ArrayList();
}
return this.supportedOvfEnvironmentTransport;
}
/**
* Gets the value of the supportedOvfInstallTransport 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 supportedOvfInstallTransport property.
*
*
* For example, to add a new item, do as follows:
*
* getSupportedOvfInstallTransport().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSupportedOvfInstallTransport() {
if (supportedOvfInstallTransport == null) {
supportedOvfInstallTransport = new ArrayList();
}
return this.supportedOvfInstallTransport;
}
}