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

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

The 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="datastore" type="{urn:vim25}VirtualMachineDatastoreInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="network" type="{urn:vim25}VirtualMachineNetworkInfo" 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"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConfigTarget", propOrder = { "numCpus", "numCpuCores", "numNumaNodes", "datastore", "network", "distributedVirtualPortgroup", "distributedVirtualSwitch", "cdRom", "serial", "parallel", "sound", "usb", "floppy", "legacyNetworkInfo", "scsiPassthrough", "scsiDisk", "ideDisk", "maxMemMBOptimalPerf", "resourcePool", "autoVmotion", "pciPassthrough" }) public class ConfigTarget extends DynamicData { protected int numCpus; protected int numCpuCores; protected int numNumaNodes; protected List datastore; protected List network; 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; /** * 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 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 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; } /** * Sets the value of the datastore property. * * @param datastore * allowed object is * {@link VirtualMachineDatastoreInfo } * */ public void setDatastore(List datastore) { this.datastore = datastore; } /** * Sets the value of the network property. * * @param network * allowed object is * {@link VirtualMachineNetworkInfo } * */ public void setNetwork(List network) { this.network = network; } /** * Sets the value of the distributedVirtualPortgroup property. * * @param distributedVirtualPortgroup * allowed object is * {@link DistributedVirtualPortgroupInfo } * */ public void setDistributedVirtualPortgroup(List distributedVirtualPortgroup) { this.distributedVirtualPortgroup = distributedVirtualPortgroup; } /** * Sets the value of the distributedVirtualSwitch property. * * @param distributedVirtualSwitch * allowed object is * {@link DistributedVirtualSwitchInfo } * */ public void setDistributedVirtualSwitch(List distributedVirtualSwitch) { this.distributedVirtualSwitch = distributedVirtualSwitch; } /** * Sets the value of the cdRom property. * * @param cdRom * allowed object is * {@link VirtualMachineCdromInfo } * */ public void setCdRom(List cdRom) { this.cdRom = cdRom; } /** * Sets the value of the serial property. * * @param serial * allowed object is * {@link VirtualMachineSerialInfo } * */ public void setSerial(List serial) { this.serial = serial; } /** * Sets the value of the parallel property. * * @param parallel * allowed object is * {@link VirtualMachineParallelInfo } * */ public void setParallel(List parallel) { this.parallel = parallel; } /** * Sets the value of the sound property. * * @param sound * allowed object is * {@link VirtualMachineSoundInfo } * */ public void setSound(List sound) { this.sound = sound; } /** * Sets the value of the usb property. * * @param usb * allowed object is * {@link VirtualMachineUsbInfo } * */ public void setUsb(List usb) { this.usb = usb; } /** * Sets the value of the floppy property. * * @param floppy * allowed object is * {@link VirtualMachineFloppyInfo } * */ public void setFloppy(List floppy) { this.floppy = floppy; } /** * Sets the value of the legacyNetworkInfo property. * * @param legacyNetworkInfo * allowed object is * {@link VirtualMachineLegacyNetworkSwitchInfo } * */ public void setLegacyNetworkInfo(List legacyNetworkInfo) { this.legacyNetworkInfo = legacyNetworkInfo; } /** * Sets the value of the scsiPassthrough property. * * @param scsiPassthrough * allowed object is * {@link VirtualMachineScsiPassthroughInfo } * */ public void setScsiPassthrough(List scsiPassthrough) { this.scsiPassthrough = scsiPassthrough; } /** * Sets the value of the scsiDisk property. * * @param scsiDisk * allowed object is * {@link VirtualMachineScsiDiskDeviceInfo } * */ public void setScsiDisk(List scsiDisk) { this.scsiDisk = scsiDisk; } /** * Sets the value of the ideDisk property. * * @param ideDisk * allowed object is * {@link VirtualMachineIdeDiskDeviceInfo } * */ public void setIdeDisk(List ideDisk) { this.ideDisk = ideDisk; } /** * Sets the value of the pciPassthrough property. * * @param pciPassthrough * allowed object is * {@link VirtualMachinePciPassthroughInfo } * */ public void setPciPassthrough(List pciPassthrough) { this.pciPassthrough = pciPassthrough; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy