public class MetricAlarmExpression extends AlarmExpression
Java class for MetricAlarmExpression complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetricAlarmExpression">
<complexContent>
<extension base="{urn:vim25}AlarmExpression">
<sequence>
<element name="operator" type="{urn:vim25}MetricAlarmOperator"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="metric" type="{urn:vim25}PerfMetricId"/>
<element name="yellow" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="yellowInterval" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="red" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="redInterval" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected PerfMetricId |
metric |
protected MetricAlarmOperator |
operator |
protected Integer |
red |
protected Integer |
redInterval |
protected String |
type |
protected Integer |
yellow |
protected Integer |
yellowInterval |
| Constructor and Description |
|---|
MetricAlarmExpression() |
| Modifier and Type | Method and Description |
|---|---|
PerfMetricId |
getMetric()
Gets the value of the metric property.
|
MetricAlarmOperator |
getOperator()
Gets the value of the operator property.
|
Integer |
getRed()
Gets the value of the red property.
|
Integer |
getRedInterval()
Gets the value of the redInterval property.
|
String |
getType()
Gets the value of the type property.
|
Integer |
getYellow()
Gets the value of the yellow property.
|
Integer |
getYellowInterval()
Gets the value of the yellowInterval property.
|
void |
setMetric(PerfMetricId value)
Sets the value of the metric property.
|
void |
setOperator(MetricAlarmOperator value)
Sets the value of the operator property.
|
void |
setRed(Integer value)
Sets the value of the red property.
|
void |
setRedInterval(Integer value)
Sets the value of the redInterval property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setYellow(Integer value)
Sets the value of the yellow property.
|
void |
setYellowInterval(Integer value)
Sets the value of the yellowInterval property.
|
protected MetricAlarmOperator operator
protected String type
protected PerfMetricId metric
protected Integer yellow
protected Integer yellowInterval
protected Integer red
protected Integer redInterval
public MetricAlarmOperator getOperator()
MetricAlarmOperatorpublic void setOperator(MetricAlarmOperator value)
value - allowed object is
MetricAlarmOperatorpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic PerfMetricId getMetric()
PerfMetricIdpublic void setMetric(PerfMetricId value)
value - allowed object is
PerfMetricIdpublic Integer getYellow()
Integerpublic void setYellow(Integer value)
value - allowed object is
Integerpublic Integer getYellowInterval()
Integerpublic void setYellowInterval(Integer value)
value - allowed object is
Integerpublic Integer getRed()
Integerpublic void setRed(Integer value)
value - allowed object is
Integerpublic Integer getRedInterval()
IntegerCopyright © 2018. All rights reserved.