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

com.vmware.vim25.ConfigTarget Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

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.XmlType;


/**
 * 

Java class for ConfigTarget complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ConfigTarget">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="numCpus" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="numCpuCores" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="numNumaNodes" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="smcPresent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="datastore" type="{urn:vim25}VirtualMachineDatastoreInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="network" type="{urn:vim25}VirtualMachineNetworkInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="opaqueNetwork" type="{urn:vim25}OpaqueNetworkTargetInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="distributedVirtualPortgroup" type="{urn:vim25}DistributedVirtualPortgroupInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="distributedVirtualSwitch" type="{urn:vim25}DistributedVirtualSwitchInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="cdRom" type="{urn:vim25}VirtualMachineCdromInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="serial" type="{urn:vim25}VirtualMachineSerialInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="parallel" type="{urn:vim25}VirtualMachineParallelInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="sound" type="{urn:vim25}VirtualMachineSoundInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="usb" type="{urn:vim25}VirtualMachineUsbInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="floppy" type="{urn:vim25}VirtualMachineFloppyInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="legacyNetworkInfo" type="{urn:vim25}VirtualMachineLegacyNetworkSwitchInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="scsiPassthrough" type="{urn:vim25}VirtualMachineScsiPassthroughInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="scsiDisk" type="{urn:vim25}VirtualMachineScsiDiskDeviceInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="ideDisk" type="{urn:vim25}VirtualMachineIdeDiskDeviceInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="maxMemMBOptimalPerf" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="resourcePool" type="{urn:vim25}ResourcePoolRuntimeInfo" minOccurs="0"/>
 *         <element name="autoVmotion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="pciPassthrough" type="{urn:vim25}VirtualMachinePciPassthroughInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="sriov" type="{urn:vim25}VirtualMachineSriovInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="vFlashModule" type="{urn:vim25}VirtualMachineVFlashModuleInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="sharedGpuPassthroughTypes" type="{urn:vim25}VirtualMachinePciSharedGpuPassthroughInfo" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConfigTarget", propOrder = { "numCpus", "numCpuCores", "numNumaNodes", "smcPresent", "datastore", "network", "opaqueNetwork", "distributedVirtualPortgroup", "distributedVirtualSwitch", "cdRom", "serial", "parallel", "sound", "usb", "floppy", "legacyNetworkInfo", "scsiPassthrough", "scsiDisk", "ideDisk", "maxMemMBOptimalPerf", "resourcePool", "autoVmotion", "pciPassthrough", "sriov", "vFlashModule", "sharedGpuPassthroughTypes" }) public class ConfigTarget extends DynamicData { protected int numCpus; protected int numCpuCores; protected int numNumaNodes; protected Boolean smcPresent; protected List datastore; protected List network; protected List opaqueNetwork; protected List distributedVirtualPortgroup; protected List distributedVirtualSwitch; protected List cdRom; protected List serial; protected List parallel; protected List sound; protected List usb; protected List floppy; protected List legacyNetworkInfo; protected List scsiPassthrough; protected List scsiDisk; protected List ideDisk; protected int maxMemMBOptimalPerf; protected ResourcePoolRuntimeInfo resourcePool; protected Boolean autoVmotion; protected List pciPassthrough; protected List sriov; protected List vFlashModule; protected List sharedGpuPassthroughTypes; /** * Gets the value of the numCpus property. * */ public int getNumCpus() { return numCpus; } /** * Sets the value of the numCpus property. * */ public void setNumCpus(int value) { this.numCpus = value; } /** * Gets the value of the numCpuCores property. * */ public int getNumCpuCores() { return numCpuCores; } /** * Sets the value of the numCpuCores property. * */ public void setNumCpuCores(int value) { this.numCpuCores = value; } /** * Gets the value of the numNumaNodes property. * */ public int getNumNumaNodes() { return numNumaNodes; } /** * Sets the value of the numNumaNodes property. * */ public void setNumNumaNodes(int value) { this.numNumaNodes = value; } /** * Gets the value of the smcPresent property. * * @return * possible object is * {@link Boolean } * */ public Boolean isSmcPresent() { return smcPresent; } /** * Sets the value of the smcPresent property. * * @param value * allowed object is * {@link Boolean } * */ public void setSmcPresent(Boolean value) { this.smcPresent = value; } /** * Gets the value of the datastore 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 datastore property. * *

* For example, to add a new item, do as follows: *

     *    getDatastore().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineDatastoreInfo } * * */ public List getDatastore() { if (datastore == null) { datastore = new ArrayList(); } return this.datastore; } /** * Gets the value of the network 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 network property. * *

* For example, to add a new item, do as follows: *

     *    getNetwork().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineNetworkInfo } * * */ public List getNetwork() { if (network == null) { network = new ArrayList(); } return this.network; } /** * Gets the value of the opaqueNetwork 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 opaqueNetwork property. * *

* For example, to add a new item, do as follows: *

     *    getOpaqueNetwork().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OpaqueNetworkTargetInfo } * * */ public List getOpaqueNetwork() { if (opaqueNetwork == null) { opaqueNetwork = new ArrayList(); } return this.opaqueNetwork; } /** * Gets the value of the distributedVirtualPortgroup 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 distributedVirtualPortgroup property. * *

* For example, to add a new item, do as follows: *

     *    getDistributedVirtualPortgroup().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DistributedVirtualPortgroupInfo } * * */ public List getDistributedVirtualPortgroup() { if (distributedVirtualPortgroup == null) { distributedVirtualPortgroup = new ArrayList(); } return this.distributedVirtualPortgroup; } /** * Gets the value of the distributedVirtualSwitch 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 distributedVirtualSwitch property. * *

* For example, to add a new item, do as follows: *

     *    getDistributedVirtualSwitch().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DistributedVirtualSwitchInfo } * * */ public List getDistributedVirtualSwitch() { if (distributedVirtualSwitch == null) { distributedVirtualSwitch = new ArrayList(); } return this.distributedVirtualSwitch; } /** * Gets the value of the cdRom 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 cdRom property. * *

* For example, to add a new item, do as follows: *

     *    getCdRom().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineCdromInfo } * * */ public List getCdRom() { if (cdRom == null) { cdRom = new ArrayList(); } return this.cdRom; } /** * Gets the value of the serial 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 serial property. * *

* For example, to add a new item, do as follows: *

     *    getSerial().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineSerialInfo } * * */ public List getSerial() { if (serial == null) { serial = new ArrayList(); } return this.serial; } /** * Gets the value of the parallel 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 parallel property. * *

* For example, to add a new item, do as follows: *

     *    getParallel().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineParallelInfo } * * */ public List getParallel() { if (parallel == null) { parallel = new ArrayList(); } return this.parallel; } /** * Gets the value of the sound 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 sound property. * *

* For example, to add a new item, do as follows: *

     *    getSound().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineSoundInfo } * * */ public List getSound() { if (sound == null) { sound = new ArrayList(); } return this.sound; } /** * Gets the value of the usb 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 usb property. * *

* For example, to add a new item, do as follows: *

     *    getUsb().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineUsbInfo } * * */ public List getUsb() { if (usb == null) { usb = new ArrayList(); } return this.usb; } /** * Gets the value of the floppy 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 floppy property. * *

* For example, to add a new item, do as follows: *

     *    getFloppy().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineFloppyInfo } * * */ public List getFloppy() { if (floppy == null) { floppy = new ArrayList(); } return this.floppy; } /** * Gets the value of the legacyNetworkInfo 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 legacyNetworkInfo property. * *

* For example, to add a new item, do as follows: *

     *    getLegacyNetworkInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineLegacyNetworkSwitchInfo } * * */ public List getLegacyNetworkInfo() { if (legacyNetworkInfo == null) { legacyNetworkInfo = new ArrayList(); } return this.legacyNetworkInfo; } /** * Gets the value of the scsiPassthrough 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 scsiPassthrough property. * *

* For example, to add a new item, do as follows: *

     *    getScsiPassthrough().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineScsiPassthroughInfo } * * */ public List getScsiPassthrough() { if (scsiPassthrough == null) { scsiPassthrough = new ArrayList(); } return this.scsiPassthrough; } /** * Gets the value of the scsiDisk 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 scsiDisk property. * *

* For example, to add a new item, do as follows: *

     *    getScsiDisk().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineScsiDiskDeviceInfo } * * */ public List getScsiDisk() { if (scsiDisk == null) { scsiDisk = new ArrayList(); } return this.scsiDisk; } /** * Gets the value of the ideDisk 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 ideDisk property. * *

* For example, to add a new item, do as follows: *

     *    getIdeDisk().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineIdeDiskDeviceInfo } * * */ public List getIdeDisk() { if (ideDisk == null) { ideDisk = new ArrayList(); } return this.ideDisk; } /** * Gets the value of the maxMemMBOptimalPerf property. * */ public int getMaxMemMBOptimalPerf() { return maxMemMBOptimalPerf; } /** * Sets the value of the maxMemMBOptimalPerf property. * */ public void setMaxMemMBOptimalPerf(int value) { this.maxMemMBOptimalPerf = value; } /** * Gets the value of the resourcePool property. * * @return * possible object is * {@link ResourcePoolRuntimeInfo } * */ public ResourcePoolRuntimeInfo getResourcePool() { return resourcePool; } /** * Sets the value of the resourcePool property. * * @param value * allowed object is * {@link ResourcePoolRuntimeInfo } * */ public void setResourcePool(ResourcePoolRuntimeInfo value) { this.resourcePool = value; } /** * Gets the value of the autoVmotion property. * * @return * possible object is * {@link Boolean } * */ public Boolean isAutoVmotion() { return autoVmotion; } /** * Sets the value of the autoVmotion property. * * @param value * allowed object is * {@link Boolean } * */ public void setAutoVmotion(Boolean value) { this.autoVmotion = value; } /** * Gets the value of the pciPassthrough 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 pciPassthrough property. * *

* For example, to add a new item, do as follows: *

     *    getPciPassthrough().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachinePciPassthroughInfo } * * */ public List getPciPassthrough() { if (pciPassthrough == null) { pciPassthrough = new ArrayList(); } return this.pciPassthrough; } /** * Gets the value of the sriov 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 sriov property. * *

* For example, to add a new item, do as follows: *

     *    getSriov().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineSriovInfo } * * */ public List getSriov() { if (sriov == null) { sriov = new ArrayList(); } return this.sriov; } /** * Gets the value of the vFlashModule 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 vFlashModule property. * *

* For example, to add a new item, do as follows: *

     *    getVFlashModule().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineVFlashModuleInfo } * * */ public List getVFlashModule() { if (vFlashModule == null) { vFlashModule = new ArrayList(); } return this.vFlashModule; } /** * Gets the value of the sharedGpuPassthroughTypes 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 sharedGpuPassthroughTypes property. * *

* For example, to add a new item, do as follows: *

     *    getSharedGpuPassthroughTypes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachinePciSharedGpuPassthroughInfo } * * */ public List getSharedGpuPassthroughTypes() { if (sharedGpuPassthroughTypes == null) { sharedGpuPassthroughTypes = new ArrayList(); } return this.sharedGpuPassthroughTypes; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy