![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostHardwareStatusInfo Maven / Gradle / Ivy
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.XmlType;
/**
* Java class for HostHardwareStatusInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostHardwareStatusInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="memoryStatusInfo" type="{urn:vim25}HostHardwareElementInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="cpuStatusInfo" type="{urn:vim25}HostHardwareElementInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="storageStatusInfo" type="{urn:vim25}HostStorageElementInfo" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostHardwareStatusInfo", propOrder = {
"memoryStatusInfo",
"cpuStatusInfo",
"storageStatusInfo"
})
public class HostHardwareStatusInfo
extends DynamicData
{
protected List memoryStatusInfo;
protected List cpuStatusInfo;
protected List storageStatusInfo;
/**
* Gets the value of the memoryStatusInfo 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 memoryStatusInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getMemoryStatusInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostHardwareElementInfo }
*
*
*/
public List getMemoryStatusInfo() {
if (memoryStatusInfo == null) {
memoryStatusInfo = new ArrayList();
}
return this.memoryStatusInfo;
}
/**
* Gets the value of the cpuStatusInfo 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 cpuStatusInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getCpuStatusInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostHardwareElementInfo }
*
*
*/
public List getCpuStatusInfo() {
if (cpuStatusInfo == null) {
cpuStatusInfo = new ArrayList();
}
return this.cpuStatusInfo;
}
/**
* Gets the value of the storageStatusInfo 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 storageStatusInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getStorageStatusInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostStorageElementInfo }
*
*
*/
public List getStorageStatusInfo() {
if (storageStatusInfo == null) {
storageStatusInfo = new ArrayList();
}
return this.storageStatusInfo;
}
}