All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim.VirtualMachineConfigOption Maven / Gradle / Ivy

The newest version!

package com.vmware.vim;

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:vim2}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:vim2}GuestOsDescriptor" maxOccurs="unbounded"/>
 *         <element name="guestOSDefaultIndex" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="hardwareOptions" type="{urn:vim2}VirtualHardwareOption"/>
 *         <element name="capabilities" type="{urn:vim2}VirtualMachineCapability"/>
 *         <element name="datastore" type="{urn:vim2}DatastoreOption"/>
 *         <element name="defaultDevice" type="{urn:vim2}VirtualDevice" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualMachineConfigOption", propOrder = { "version", "description", "guestOSDescriptor", "guestOSDefaultIndex", "hardwareOptions", "capabilities", "datastore", "defaultDevice" }) 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; /** * 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; } /** * Sets the value of the guestOSDescriptor property. * * @param guestOSDescriptor * allowed object is * {@link GuestOsDescriptor } * */ public void setGuestOSDescriptor(List guestOSDescriptor) { this.guestOSDescriptor = guestOSDescriptor; } /** * Sets the value of the defaultDevice property. * * @param defaultDevice * allowed object is * {@link VirtualDevice } * */ public void setDefaultDevice(List defaultDevice) { this.defaultDevice = defaultDevice; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy