
com.vmware.vim25.VirtualHardwareOption Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for VirtualHardwareOption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualHardwareOption">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="hwVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="virtualDeviceOption" type="{urn:vim25}VirtualDeviceOption" maxOccurs="unbounded"/>
* <element name="deviceListReadonly" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="numCPU" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded"/>
* <element name="numCpuReadonly" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="memoryMB" type="{urn:vim25}LongOption"/>
* <element name="numPCIControllers" type="{urn:vim25}IntOption"/>
* <element name="numIDEControllers" type="{urn:vim25}IntOption"/>
* <element name="numUSBControllers" type="{urn:vim25}IntOption"/>
* <element name="numSIOControllers" type="{urn:vim25}IntOption"/>
* <element name="numPS2Controllers" type="{urn:vim25}IntOption"/>
* <element name="licensingLimit" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="numSupportedWwnPorts" type="{urn:vim25}IntOption" minOccurs="0"/>
* <element name="numSupportedWwnNodes" type="{urn:vim25}IntOption" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualHardwareOption", propOrder = {
"hwVersion",
"virtualDeviceOption",
"deviceListReadonly",
"numCPU",
"numCpuReadonly",
"memoryMB",
"numPCIControllers",
"numIDEControllers",
"numUSBControllers",
"numSIOControllers",
"numPS2Controllers",
"licensingLimit",
"numSupportedWwnPorts",
"numSupportedWwnNodes"
})
public class VirtualHardwareOption
extends DynamicData
{
protected int hwVersion;
@XmlElement(required = true)
protected List virtualDeviceOption;
protected boolean deviceListReadonly;
@XmlElement(type = Integer.class)
protected List numCPU;
protected boolean numCpuReadonly;
@XmlElement(required = true)
protected LongOption memoryMB;
@XmlElement(required = true)
protected IntOption numPCIControllers;
@XmlElement(required = true)
protected IntOption numIDEControllers;
@XmlElement(required = true)
protected IntOption numUSBControllers;
@XmlElement(required = true)
protected IntOption numSIOControllers;
@XmlElement(required = true)
protected IntOption numPS2Controllers;
protected List licensingLimit;
protected IntOption numSupportedWwnPorts;
protected IntOption numSupportedWwnNodes;
/**
* Gets the value of the hwVersion property.
*
*/
public int getHwVersion() {
return hwVersion;
}
/**
* Sets the value of the hwVersion property.
*
*/
public void setHwVersion(int value) {
this.hwVersion = value;
}
/**
* Gets the value of the virtualDeviceOption 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 virtualDeviceOption property.
*
*
* For example, to add a new item, do as follows:
*
* getVirtualDeviceOption().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualDeviceOption }
*
*
*/
public List getVirtualDeviceOption() {
if (virtualDeviceOption == null) {
virtualDeviceOption = new ArrayList();
}
return this.virtualDeviceOption;
}
/**
* Gets the value of the deviceListReadonly property.
*
*/
public boolean isDeviceListReadonly() {
return deviceListReadonly;
}
/**
* Sets the value of the deviceListReadonly property.
*
*/
public void setDeviceListReadonly(boolean value) {
this.deviceListReadonly = value;
}
/**
* Gets the value of the numCPU 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 numCPU property.
*
*
* For example, to add a new item, do as follows:
*
* getNumCPU().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Integer }
*
*
*/
public List getNumCPU() {
if (numCPU == null) {
numCPU = new ArrayList();
}
return this.numCPU;
}
/**
* Gets the value of the numCpuReadonly property.
*
*/
public boolean isNumCpuReadonly() {
return numCpuReadonly;
}
/**
* Sets the value of the numCpuReadonly property.
*
*/
public void setNumCpuReadonly(boolean value) {
this.numCpuReadonly = value;
}
/**
* Gets the value of the memoryMB property.
*
* @return
* possible object is
* {@link LongOption }
*
*/
public LongOption getMemoryMB() {
return memoryMB;
}
/**
* Sets the value of the memoryMB property.
*
* @param value
* allowed object is
* {@link LongOption }
*
*/
public void setMemoryMB(LongOption value) {
this.memoryMB = value;
}
/**
* Gets the value of the numPCIControllers property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getNumPCIControllers() {
return numPCIControllers;
}
/**
* Sets the value of the numPCIControllers property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setNumPCIControllers(IntOption value) {
this.numPCIControllers = value;
}
/**
* Gets the value of the numIDEControllers property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getNumIDEControllers() {
return numIDEControllers;
}
/**
* Sets the value of the numIDEControllers property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setNumIDEControllers(IntOption value) {
this.numIDEControllers = value;
}
/**
* Gets the value of the numUSBControllers property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getNumUSBControllers() {
return numUSBControllers;
}
/**
* Sets the value of the numUSBControllers property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setNumUSBControllers(IntOption value) {
this.numUSBControllers = value;
}
/**
* Gets the value of the numSIOControllers property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getNumSIOControllers() {
return numSIOControllers;
}
/**
* Sets the value of the numSIOControllers property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setNumSIOControllers(IntOption value) {
this.numSIOControllers = value;
}
/**
* Gets the value of the numPS2Controllers property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getNumPS2Controllers() {
return numPS2Controllers;
}
/**
* Sets the value of the numPS2Controllers property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setNumPS2Controllers(IntOption value) {
this.numPS2Controllers = value;
}
/**
* Gets the value of the licensingLimit 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 licensingLimit property.
*
*
* For example, to add a new item, do as follows:
*
* getLicensingLimit().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getLicensingLimit() {
if (licensingLimit == null) {
licensingLimit = new ArrayList();
}
return this.licensingLimit;
}
/**
* Gets the value of the numSupportedWwnPorts property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getNumSupportedWwnPorts() {
return numSupportedWwnPorts;
}
/**
* Sets the value of the numSupportedWwnPorts property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setNumSupportedWwnPorts(IntOption value) {
this.numSupportedWwnPorts = value;
}
/**
* Gets the value of the numSupportedWwnNodes property.
*
* @return
* possible object is
* {@link IntOption }
*
*/
public IntOption getNumSupportedWwnNodes() {
return numSupportedWwnNodes;
}
/**
* Sets the value of the numSupportedWwnNodes property.
*
* @param value
* allowed object is
* {@link IntOption }
*
*/
public void setNumSupportedWwnNodes(IntOption value) {
this.numSupportedWwnNodes = value;
}
/**
* Sets the value of the virtualDeviceOption property.
*
* @param virtualDeviceOption
* allowed object is
* {@link VirtualDeviceOption }
*
*/
public void setVirtualDeviceOption(List virtualDeviceOption) {
this.virtualDeviceOption = virtualDeviceOption;
}
/**
* Sets the value of the numCPU property.
*
* @param numCPU
* allowed object is
* {@link Integer }
*
*/
public void setNumCPU(List numCPU) {
this.numCPU = numCPU;
}
/**
* Sets the value of the licensingLimit property.
*
* @param licensingLimit
* allowed object is
* {@link String }
*
*/
public void setLicensingLimit(List licensingLimit) {
this.licensingLimit = licensingLimit;
}
}