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

com.vmware.vim.VirtualMachineConfigSpec 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.XmlType;


/**
 * 

Java class for VirtualMachineConfigSpec complex type. * *

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

 * <complexType name="VirtualMachineConfigSpec">
 *   <complexContent>
 *     <extension base="{urn:vim2}DynamicData">
 *       <sequence>
 *         <element name="changeVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="locationId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="guestId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="annotation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="files" type="{urn:vim2}VirtualMachineFileInfo" minOccurs="0"/>
 *         <element name="tools" type="{urn:vim2}ToolsConfigInfo" minOccurs="0"/>
 *         <element name="flags" type="{urn:vim2}VirtualMachineFlagInfo" minOccurs="0"/>
 *         <element name="consolePreferences" type="{urn:vim2}VirtualMachineConsolePreferences" minOccurs="0"/>
 *         <element name="powerOpInfo" type="{urn:vim2}VirtualMachineDefaultPowerOpInfo" minOccurs="0"/>
 *         <element name="numCPUs" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="memoryMB" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="deviceChange" type="{urn:vim2}VirtualDeviceConfigSpec" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="cpuAllocation" type="{urn:vim2}ResourceAllocationInfo" minOccurs="0"/>
 *         <element name="memoryAllocation" type="{urn:vim2}ResourceAllocationInfo" minOccurs="0"/>
 *         <element name="cpuAffinity" type="{urn:vim2}VirtualMachineAffinityInfo" minOccurs="0"/>
 *         <element name="memoryAffinity" type="{urn:vim2}VirtualMachineAffinityInfo" minOccurs="0"/>
 *         <element name="networkShaper" type="{urn:vim2}VirtualMachineNetworkShaperInfo" minOccurs="0"/>
 *         <element name="cpuFeatureMask" type="{urn:vim2}VirtualMachineCpuIdInfoSpec" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="extraConfig" type="{urn:vim2}OptionValue" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualMachineConfigSpec", propOrder = { "changeVersion", "name", "version", "uuid", "locationId", "guestId", "annotation", "files", "tools", "flags", "consolePreferences", "powerOpInfo", "numCPUs", "memoryMB", "deviceChange", "cpuAllocation", "memoryAllocation", "cpuAffinity", "memoryAffinity", "networkShaper", "cpuFeatureMask", "extraConfig" }) public class VirtualMachineConfigSpec extends DynamicData { protected String changeVersion; protected String name; protected String version; protected String uuid; protected String locationId; protected String guestId; protected String annotation; protected VirtualMachineFileInfo files; protected ToolsConfigInfo tools; protected VirtualMachineFlagInfo flags; protected VirtualMachineConsolePreferences consolePreferences; protected VirtualMachineDefaultPowerOpInfo powerOpInfo; protected Integer numCPUs; protected Long memoryMB; protected List deviceChange; protected ResourceAllocationInfo cpuAllocation; protected ResourceAllocationInfo memoryAllocation; protected VirtualMachineAffinityInfo cpuAffinity; protected VirtualMachineAffinityInfo memoryAffinity; protected VirtualMachineNetworkShaperInfo networkShaper; protected List cpuFeatureMask; protected List extraConfig; /** * Gets the value of the changeVersion property. * * @return * possible object is * {@link String } * */ public String getChangeVersion() { return changeVersion; } /** * Sets the value of the changeVersion property. * * @param value * allowed object is * {@link String } * */ public void setChangeVersion(String value) { this.changeVersion = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * 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 uuid property. * * @return * possible object is * {@link String } * */ public String getUuid() { return uuid; } /** * Sets the value of the uuid property. * * @param value * allowed object is * {@link String } * */ public void setUuid(String value) { this.uuid = value; } /** * Gets the value of the locationId property. * * @return * possible object is * {@link String } * */ public String getLocationId() { return locationId; } /** * Sets the value of the locationId property. * * @param value * allowed object is * {@link String } * */ public void setLocationId(String value) { this.locationId = value; } /** * Gets the value of the guestId property. * * @return * possible object is * {@link String } * */ public String getGuestId() { return guestId; } /** * Sets the value of the guestId property. * * @param value * allowed object is * {@link String } * */ public void setGuestId(String value) { this.guestId = value; } /** * Gets the value of the annotation property. * * @return * possible object is * {@link String } * */ public String getAnnotation() { return annotation; } /** * Sets the value of the annotation property. * * @param value * allowed object is * {@link String } * */ public void setAnnotation(String value) { this.annotation = value; } /** * Gets the value of the files property. * * @return * possible object is * {@link VirtualMachineFileInfo } * */ public VirtualMachineFileInfo getFiles() { return files; } /** * Sets the value of the files property. * * @param value * allowed object is * {@link VirtualMachineFileInfo } * */ public void setFiles(VirtualMachineFileInfo value) { this.files = value; } /** * Gets the value of the tools property. * * @return * possible object is * {@link ToolsConfigInfo } * */ public ToolsConfigInfo getTools() { return tools; } /** * Sets the value of the tools property. * * @param value * allowed object is * {@link ToolsConfigInfo } * */ public void setTools(ToolsConfigInfo value) { this.tools = value; } /** * Gets the value of the flags property. * * @return * possible object is * {@link VirtualMachineFlagInfo } * */ public VirtualMachineFlagInfo getFlags() { return flags; } /** * Sets the value of the flags property. * * @param value * allowed object is * {@link VirtualMachineFlagInfo } * */ public void setFlags(VirtualMachineFlagInfo value) { this.flags = value; } /** * Gets the value of the consolePreferences property. * * @return * possible object is * {@link VirtualMachineConsolePreferences } * */ public VirtualMachineConsolePreferences getConsolePreferences() { return consolePreferences; } /** * Sets the value of the consolePreferences property. * * @param value * allowed object is * {@link VirtualMachineConsolePreferences } * */ public void setConsolePreferences(VirtualMachineConsolePreferences value) { this.consolePreferences = value; } /** * Gets the value of the powerOpInfo property. * * @return * possible object is * {@link VirtualMachineDefaultPowerOpInfo } * */ public VirtualMachineDefaultPowerOpInfo getPowerOpInfo() { return powerOpInfo; } /** * Sets the value of the powerOpInfo property. * * @param value * allowed object is * {@link VirtualMachineDefaultPowerOpInfo } * */ public void setPowerOpInfo(VirtualMachineDefaultPowerOpInfo value) { this.powerOpInfo = value; } /** * Gets the value of the numCPUs property. * * @return * possible object is * {@link Integer } * */ public Integer getNumCPUs() { return numCPUs; } /** * Sets the value of the numCPUs property. * * @param value * allowed object is * {@link Integer } * */ public void setNumCPUs(Integer value) { this.numCPUs = value; } /** * Gets the value of the memoryMB property. * * @return * possible object is * {@link Long } * */ public Long getMemoryMB() { return memoryMB; } /** * Sets the value of the memoryMB property. * * @param value * allowed object is * {@link Long } * */ public void setMemoryMB(Long value) { this.memoryMB = value; } /** * Gets the value of the deviceChange 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 deviceChange property. * *

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

     *    getDeviceChange().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualDeviceConfigSpec } * * */ public List getDeviceChange() { if (deviceChange == null) { deviceChange = new ArrayList(); } return this.deviceChange; } /** * Gets the value of the cpuAllocation property. * * @return * possible object is * {@link ResourceAllocationInfo } * */ public ResourceAllocationInfo getCpuAllocation() { return cpuAllocation; } /** * Sets the value of the cpuAllocation property. * * @param value * allowed object is * {@link ResourceAllocationInfo } * */ public void setCpuAllocation(ResourceAllocationInfo value) { this.cpuAllocation = value; } /** * Gets the value of the memoryAllocation property. * * @return * possible object is * {@link ResourceAllocationInfo } * */ public ResourceAllocationInfo getMemoryAllocation() { return memoryAllocation; } /** * Sets the value of the memoryAllocation property. * * @param value * allowed object is * {@link ResourceAllocationInfo } * */ public void setMemoryAllocation(ResourceAllocationInfo value) { this.memoryAllocation = value; } /** * Gets the value of the cpuAffinity property. * * @return * possible object is * {@link VirtualMachineAffinityInfo } * */ public VirtualMachineAffinityInfo getCpuAffinity() { return cpuAffinity; } /** * Sets the value of the cpuAffinity property. * * @param value * allowed object is * {@link VirtualMachineAffinityInfo } * */ public void setCpuAffinity(VirtualMachineAffinityInfo value) { this.cpuAffinity = value; } /** * Gets the value of the memoryAffinity property. * * @return * possible object is * {@link VirtualMachineAffinityInfo } * */ public VirtualMachineAffinityInfo getMemoryAffinity() { return memoryAffinity; } /** * Sets the value of the memoryAffinity property. * * @param value * allowed object is * {@link VirtualMachineAffinityInfo } * */ public void setMemoryAffinity(VirtualMachineAffinityInfo value) { this.memoryAffinity = value; } /** * Gets the value of the networkShaper property. * * @return * possible object is * {@link VirtualMachineNetworkShaperInfo } * */ public VirtualMachineNetworkShaperInfo getNetworkShaper() { return networkShaper; } /** * Sets the value of the networkShaper property. * * @param value * allowed object is * {@link VirtualMachineNetworkShaperInfo } * */ public void setNetworkShaper(VirtualMachineNetworkShaperInfo value) { this.networkShaper = value; } /** * Gets the value of the cpuFeatureMask 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 cpuFeatureMask property. * *

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

     *    getCpuFeatureMask().add(newItem);
     * 
* * *

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

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

     *    getExtraConfig().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OptionValue } * * */ public List getExtraConfig() { if (extraConfig == null) { extraConfig = new ArrayList(); } return this.extraConfig; } /** * Sets the value of the deviceChange property. * * @param deviceChange * allowed object is * {@link VirtualDeviceConfigSpec } * */ public void setDeviceChange(List deviceChange) { this.deviceChange = deviceChange; } /** * Sets the value of the cpuFeatureMask property. * * @param cpuFeatureMask * allowed object is * {@link VirtualMachineCpuIdInfoSpec } * */ public void setCpuFeatureMask(List cpuFeatureMask) { this.cpuFeatureMask = cpuFeatureMask; } /** * Sets the value of the extraConfig property. * * @param extraConfig * allowed object is * {@link OptionValue } * */ public void setExtraConfig(List extraConfig) { this.extraConfig = extraConfig; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy