com.vmware.vim25.AlarmDescription 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AlarmDescription complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AlarmDescription">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="expr" type="{urn:vim25}TypeDescription" maxOccurs="unbounded"/>
* <element name="stateOperator" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
* <element name="metricOperator" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
* <element name="hostSystemConnectionState" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
* <element name="virtualMachinePowerState" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
* <element name="datastoreConnectionState" type="{urn:vim25}ElementDescription" maxOccurs="unbounded" minOccurs="0"/>
* <element name="hostSystemPowerState" type="{urn:vim25}ElementDescription" maxOccurs="unbounded" minOccurs="0"/>
* <element name="virtualMachineGuestHeartbeatStatus" type="{urn:vim25}ElementDescription" maxOccurs="unbounded" minOccurs="0"/>
* <element name="entityStatus" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
* <element name="action" type="{urn:vim25}TypeDescription" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AlarmDescription", propOrder = {
"expr",
"stateOperator",
"metricOperator",
"hostSystemConnectionState",
"virtualMachinePowerState",
"datastoreConnectionState",
"hostSystemPowerState",
"virtualMachineGuestHeartbeatStatus",
"entityStatus",
"action"
})
public class AlarmDescription
extends DynamicData
{
@XmlElement(required = true)
protected List expr;
@XmlElement(required = true)
protected List stateOperator;
@XmlElement(required = true)
protected List metricOperator;
@XmlElement(required = true)
protected List hostSystemConnectionState;
@XmlElement(required = true)
protected List virtualMachinePowerState;
protected List datastoreConnectionState;
protected List hostSystemPowerState;
protected List virtualMachineGuestHeartbeatStatus;
@XmlElement(required = true)
protected List entityStatus;
@XmlElement(required = true)
protected List action;
/**
* Gets the value of the expr 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 expr property.
*
*
* For example, to add a new item, do as follows:
*
* getExpr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypeDescription }
*
*
*/
public List getExpr() {
if (expr == null) {
expr = new ArrayList();
}
return this.expr;
}
/**
* Gets the value of the stateOperator 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 stateOperator property.
*
*
* For example, to add a new item, do as follows:
*
* getStateOperator().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getStateOperator() {
if (stateOperator == null) {
stateOperator = new ArrayList();
}
return this.stateOperator;
}
/**
* Gets the value of the metricOperator 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 metricOperator property.
*
*
* For example, to add a new item, do as follows:
*
* getMetricOperator().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getMetricOperator() {
if (metricOperator == null) {
metricOperator = new ArrayList();
}
return this.metricOperator;
}
/**
* Gets the value of the hostSystemConnectionState 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 hostSystemConnectionState property.
*
*
* For example, to add a new item, do as follows:
*
* getHostSystemConnectionState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getHostSystemConnectionState() {
if (hostSystemConnectionState == null) {
hostSystemConnectionState = new ArrayList();
}
return this.hostSystemConnectionState;
}
/**
* Gets the value of the virtualMachinePowerState 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 virtualMachinePowerState property.
*
*
* For example, to add a new item, do as follows:
*
* getVirtualMachinePowerState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getVirtualMachinePowerState() {
if (virtualMachinePowerState == null) {
virtualMachinePowerState = new ArrayList();
}
return this.virtualMachinePowerState;
}
/**
* Gets the value of the datastoreConnectionState 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 datastoreConnectionState property.
*
*
* For example, to add a new item, do as follows:
*
* getDatastoreConnectionState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getDatastoreConnectionState() {
if (datastoreConnectionState == null) {
datastoreConnectionState = new ArrayList();
}
return this.datastoreConnectionState;
}
/**
* Gets the value of the hostSystemPowerState 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 hostSystemPowerState property.
*
*
* For example, to add a new item, do as follows:
*
* getHostSystemPowerState().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getHostSystemPowerState() {
if (hostSystemPowerState == null) {
hostSystemPowerState = new ArrayList();
}
return this.hostSystemPowerState;
}
/**
* Gets the value of the virtualMachineGuestHeartbeatStatus 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 virtualMachineGuestHeartbeatStatus property.
*
*
* For example, to add a new item, do as follows:
*
* getVirtualMachineGuestHeartbeatStatus().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getVirtualMachineGuestHeartbeatStatus() {
if (virtualMachineGuestHeartbeatStatus == null) {
virtualMachineGuestHeartbeatStatus = new ArrayList();
}
return this.virtualMachineGuestHeartbeatStatus;
}
/**
* Gets the value of the entityStatus 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 entityStatus property.
*
*
* For example, to add a new item, do as follows:
*
* getEntityStatus().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ElementDescription }
*
*
*/
public List getEntityStatus() {
if (entityStatus == null) {
entityStatus = new ArrayList();
}
return this.entityStatus;
}
/**
* Gets the value of the action 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 action property.
*
*
* For example, to add a new item, do as follows:
*
* getAction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypeDescription }
*
*
*/
public List getAction() {
if (action == null) {
action = new ArrayList();
}
return this.action;
}
}