
com.vmware.vim.ConfigTarget Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
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.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:vim2}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:vim2}VirtualMachineDatastoreInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="network" type="{urn:vim2}VirtualMachineNetworkInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="cdRom" type="{urn:vim2}VirtualMachineCdromInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="serial" type="{urn:vim2}VirtualMachineSerialInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="parallel" type="{urn:vim2}VirtualMachineParallelInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="floppy" type="{urn:vim2}VirtualMachineFloppyInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="legacyNetworkInfo" type="{urn:vim2}VirtualMachineLegacyNetworkSwitchInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="scsiPassthrough" type="{urn:vim2}VirtualMachineScsiPassthroughInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="scsiDisk" type="{urn:vim2}VirtualMachineScsiDiskDeviceInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ideDisk" type="{urn:vim2}VirtualMachineIdeDiskDeviceInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="maxMemMBOptimalPerf" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="resourcePool" type="{urn:vim2}ResourcePoolRuntimeInfo" minOccurs="0"/>
* <element name="autoVmotion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ConfigTarget", propOrder = {
"numCpus",
"numCpuCores",
"numNumaNodes",
"datastore",
"network",
"cdRom",
"serial",
"parallel",
"floppy",
"legacyNetworkInfo",
"scsiPassthrough",
"scsiDisk",
"ideDisk",
"maxMemMBOptimalPerf",
"resourcePool",
"autoVmotion"
})
public class ConfigTarget
extends DynamicData
{
protected int numCpus;
protected int numCpuCores;
protected int numNumaNodes;
protected List datastore;
protected List network;
protected List cdRom;
protected List serial;
protected List parallel;
protected List floppy;
protected List legacyNetworkInfo;
protected List scsiPassthrough;
protected List scsiDisk;
protected List ideDisk;
protected int maxMemMBOptimalPerf;
protected ResourcePoolRuntimeInfo resourcePool;
protected Boolean autoVmotion;
/**
* 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 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 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;
}
/**
* 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 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 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;
}
}