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

com.vmware.vim.VirtualMachineConfigInfo 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for VirtualMachineConfigInfo complex type. * *

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

 * <complexType name="VirtualMachineConfigInfo">
 *   <complexContent>
 *     <extension base="{urn:vim2}DynamicData">
 *       <sequence>
 *         <element name="changeVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="guestFullName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="locationId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="template" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="guestId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="annotation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="files" type="{urn:vim2}VirtualMachineFileInfo"/>
 *         <element name="tools" type="{urn:vim2}ToolsConfigInfo" minOccurs="0"/>
 *         <element name="flags" type="{urn:vim2}VirtualMachineFlagInfo"/>
 *         <element name="consolePreferences" type="{urn:vim2}VirtualMachineConsolePreferences" minOccurs="0"/>
 *         <element name="defaultPowerOps" type="{urn:vim2}VirtualMachineDefaultPowerOpInfo"/>
 *         <element name="hardware" type="{urn:vim2}VirtualHardware"/>
 *         <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="extraConfig" type="{urn:vim2}OptionValue" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="cpuFeatureMask" type="{urn:vim2}HostCpuIdInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="datastoreUrl" type="{urn:vim2}VirtualMachineConfigInfoDatastoreUrlPair" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualMachineConfigInfo", propOrder = { "changeVersion", "modified", "name", "guestFullName", "version", "uuid", "locationId", "template", "guestId", "annotation", "files", "tools", "flags", "consolePreferences", "defaultPowerOps", "hardware", "cpuAllocation", "memoryAllocation", "cpuAffinity", "memoryAffinity", "networkShaper", "extraConfig", "cpuFeatureMask", "datastoreUrl" }) public class VirtualMachineConfigInfo extends DynamicData { @XmlElement(required = true) protected String changeVersion; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar modified; @XmlElement(required = true) protected String name; @XmlElement(required = true) protected String guestFullName; @XmlElement(required = true) protected String version; @XmlElement(required = true) protected String uuid; protected String locationId; protected boolean template; @XmlElement(required = true) protected String guestId; protected String annotation; @XmlElement(required = true) protected VirtualMachineFileInfo files; protected ToolsConfigInfo tools; @XmlElement(required = true) protected VirtualMachineFlagInfo flags; protected VirtualMachineConsolePreferences consolePreferences; @XmlElement(required = true) protected VirtualMachineDefaultPowerOpInfo defaultPowerOps; @XmlElement(required = true) protected VirtualHardware hardware; protected ResourceAllocationInfo cpuAllocation; protected ResourceAllocationInfo memoryAllocation; protected VirtualMachineAffinityInfo cpuAffinity; protected VirtualMachineAffinityInfo memoryAffinity; protected VirtualMachineNetworkShaperInfo networkShaper; protected List extraConfig; protected List cpuFeatureMask; protected List datastoreUrl; /** * 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 modified property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getModified() { return modified; } /** * Sets the value of the modified property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setModified(XMLGregorianCalendar value) { this.modified = 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 guestFullName property. * * @return * possible object is * {@link String } * */ public String getGuestFullName() { return guestFullName; } /** * Sets the value of the guestFullName property. * * @param value * allowed object is * {@link String } * */ public void setGuestFullName(String value) { this.guestFullName = 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 template property. * */ public boolean isTemplate() { return template; } /** * Sets the value of the template property. * */ public void setTemplate(boolean value) { this.template = 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 defaultPowerOps property. * * @return * possible object is * {@link VirtualMachineDefaultPowerOpInfo } * */ public VirtualMachineDefaultPowerOpInfo getDefaultPowerOps() { return defaultPowerOps; } /** * Sets the value of the defaultPowerOps property. * * @param value * allowed object is * {@link VirtualMachineDefaultPowerOpInfo } * */ public void setDefaultPowerOps(VirtualMachineDefaultPowerOpInfo value) { this.defaultPowerOps = value; } /** * Gets the value of the hardware property. * * @return * possible object is * {@link VirtualHardware } * */ public VirtualHardware getHardware() { return hardware; } /** * Sets the value of the hardware property. * * @param value * allowed object is * {@link VirtualHardware } * */ public void setHardware(VirtualHardware value) { this.hardware = value; } /** * 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 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; } /** * 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 HostCpuIdInfo } * * */ public List getCpuFeatureMask() { if (cpuFeatureMask == null) { cpuFeatureMask = new ArrayList(); } return this.cpuFeatureMask; } /** * Gets the value of the datastoreUrl 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 datastoreUrl property. * *

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

     *    getDatastoreUrl().add(newItem);
     * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy