public class MetricAlarm extends AbstractModel
| Constructor and Description | 
|---|
MetricAlarm()  | 
MetricAlarm(MetricAlarm source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getComparisonOperator()
Get Comparison operator. 
 | 
Long | 
getContinuousTime()
Get Number of repetitions. 
 | 
String | 
getMetricName()
Get Metric name. 
 | 
Long | 
getPeriod()
Get Time period in seconds. 
 | 
String | 
getStatistic()
Get Statistics type. 
 | 
Long | 
getThreshold()
Get Alarming threshold:  
CPU_UTILIZATION: [1, 100] in % MEM_UTILIZATION: [1, 100] in % LAN_TRAFFIC_OUT: >0 in Mbps LAN_TRAFFIC_IN: >0 in Mbps WAN_TRAFFIC_OUT: >0 in Mbps WAN_TRAFFIC_IN: >0 in Mbps  | 
void | 
setComparisonOperator(String ComparisonOperator)
Set Comparison operator. 
 | 
void | 
setContinuousTime(Long ContinuousTime)
Set Number of repetitions. 
 | 
void | 
setMetricName(String MetricName)
Set Metric name. 
 | 
void | 
setPeriod(Long Period)
Set Time period in seconds. 
 | 
void | 
setStatistic(String Statistic)
Set Statistics type. 
 | 
void | 
setThreshold(Long Threshold)
Set Alarming threshold:  
CPU_UTILIZATION: [1, 100] in % MEM_UTILIZATION: [1, 100] in % LAN_TRAFFIC_OUT: >0 in Mbps LAN_TRAFFIC_IN: >0 in Mbps WAN_TRAFFIC_OUT: >0 in Mbps WAN_TRAFFIC_IN: >0 in Mbps  | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic MetricAlarm()
public MetricAlarm(MetricAlarm source)
public String getComparisonOperator()
public void setComparisonOperator(String ComparisonOperator)
ComparisonOperator - Comparison operator. Value range: public String getMetricName()
public void setMetricName(String MetricName)
MetricName - Metric name. Value range: public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold - Alarming threshold: public Long getPeriod()
public void setPeriod(Long Period)
Period - Time period in seconds. Enumerated values: 60, 300.public Long getContinuousTime()
public void setContinuousTime(Long ContinuousTime)
ContinuousTime - Number of repetitions. Value range: [1, 10]public String getStatistic()
public void setStatistic(String Statistic)
Statistic - Statistics type. Value range: Copyright © 2021. All rights reserved.