
com.vmware.vim.HostHardwareInfo 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for HostHardwareInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostHardwareInfo">
* <complexContent>
* <extension base="{urn:vim2}DynamicData">
* <sequence>
* <element name="systemInfo" type="{urn:vim2}HostSystemInfo"/>
* <element name="cpuInfo" type="{urn:vim2}HostCpuInfo"/>
* <element name="cpuPkg" type="{urn:vim2}HostCpuPackage" maxOccurs="unbounded"/>
* <element name="memorySize" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="numaInfo" type="{urn:vim2}HostNumaInfo" minOccurs="0"/>
* <element name="pciDevice" type="{urn:vim2}HostPciDevice" maxOccurs="unbounded" minOccurs="0"/>
* <element name="cpuFeature" type="{urn:vim2}HostCpuIdInfo" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostHardwareInfo", propOrder = {
"systemInfo",
"cpuInfo",
"cpuPkg",
"memorySize",
"numaInfo",
"pciDevice",
"cpuFeature"
})
public class HostHardwareInfo
extends DynamicData
{
@XmlElement(required = true)
protected HostSystemInfo systemInfo;
@XmlElement(required = true)
protected HostCpuInfo cpuInfo;
@XmlElement(required = true)
protected List cpuPkg;
protected long memorySize;
protected HostNumaInfo numaInfo;
protected List pciDevice;
protected List cpuFeature;
/**
* Gets the value of the systemInfo property.
*
* @return
* possible object is
* {@link HostSystemInfo }
*
*/
public HostSystemInfo getSystemInfo() {
return systemInfo;
}
/**
* Sets the value of the systemInfo property.
*
* @param value
* allowed object is
* {@link HostSystemInfo }
*
*/
public void setSystemInfo(HostSystemInfo value) {
this.systemInfo = value;
}
/**
* Gets the value of the cpuInfo property.
*
* @return
* possible object is
* {@link HostCpuInfo }
*
*/
public HostCpuInfo getCpuInfo() {
return cpuInfo;
}
/**
* Sets the value of the cpuInfo property.
*
* @param value
* allowed object is
* {@link HostCpuInfo }
*
*/
public void setCpuInfo(HostCpuInfo value) {
this.cpuInfo = value;
}
/**
* Gets the value of the cpuPkg 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 cpuPkg property.
*
*
* For example, to add a new item, do as follows:
*
* getCpuPkg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostCpuPackage }
*
*
*/
public List getCpuPkg() {
if (cpuPkg == null) {
cpuPkg = new ArrayList();
}
return this.cpuPkg;
}
/**
* Gets the value of the memorySize property.
*
*/
public long getMemorySize() {
return memorySize;
}
/**
* Sets the value of the memorySize property.
*
*/
public void setMemorySize(long value) {
this.memorySize = value;
}
/**
* Gets the value of the numaInfo property.
*
* @return
* possible object is
* {@link HostNumaInfo }
*
*/
public HostNumaInfo getNumaInfo() {
return numaInfo;
}
/**
* Sets the value of the numaInfo property.
*
* @param value
* allowed object is
* {@link HostNumaInfo }
*
*/
public void setNumaInfo(HostNumaInfo value) {
this.numaInfo = value;
}
/**
* Gets the value of the pciDevice 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 pciDevice property.
*
*
* For example, to add a new item, do as follows:
*
* getPciDevice().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostPciDevice }
*
*
*/
public List getPciDevice() {
if (pciDevice == null) {
pciDevice = new ArrayList();
}
return this.pciDevice;
}
/**
* Gets the value of the cpuFeature 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 cpuFeature property.
*
*
* For example, to add a new item, do as follows:
*
* getCpuFeature().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostCpuIdInfo }
*
*
*/
public List getCpuFeature() {
if (cpuFeature == null) {
cpuFeature = new ArrayList();
}
return this.cpuFeature;
}
/**
* Sets the value of the cpuPkg property.
*
* @param cpuPkg
* allowed object is
* {@link HostCpuPackage }
*
*/
public void setCpuPkg(List cpuPkg) {
this.cpuPkg = cpuPkg;
}
/**
* Sets the value of the pciDevice property.
*
* @param pciDevice
* allowed object is
* {@link HostPciDevice }
*
*/
public void setPciDevice(List pciDevice) {
this.pciDevice = pciDevice;
}
/**
* Sets the value of the cpuFeature property.
*
* @param cpuFeature
* allowed object is
* {@link HostCpuIdInfo }
*
*/
public void setCpuFeature(List cpuFeature) {
this.cpuFeature = cpuFeature;
}
}