public class AlarmsRules extends AbstractModel
header, skipSign
Constructor and Description |
---|
AlarmsRules() |
AlarmsRules(AlarmsRules 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 |
---|---|
Long |
getInterval()
Get 间隔
|
String |
getMetric()
Get 指标
|
String |
getName()
Get 告警名
|
String |
getOperator()
Get 操作符
|
String |
getSeverity()
Get 等级
fatal-致命
critical-严重
warning-告警
information-通知
|
Float |
getValue()
Get 指标值
|
void |
setInterval(Long Interval)
Set 间隔
|
void |
setMetric(String Metric)
Set 指标
|
void |
setName(String Name)
Set 告警名
|
void |
setOperator(String Operator)
Set 操作符
|
void |
setSeverity(String Severity)
Set 等级
fatal-致命
critical-严重
warning-告警
information-通知
|
void |
setValue(Float Value)
Set 指标值
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AlarmsRules()
public AlarmsRules(AlarmsRules source)
public Long getInterval()
public void setInterval(Long Interval)
Interval
- 间隔public String getName()
public void setName(String Name)
Name
- 告警名public String getMetric()
public void setMetric(String Metric)
Metric
- 指标public String getOperator()
public void setOperator(String Operator)
Operator
- 操作符public String getSeverity()
public void setSeverity(String Severity)
Severity
- 等级
fatal-致命
critical-严重
warning-告警
information-通知public Float getValue()
public void setValue(Float Value)
Value
- 指标值Copyright © 2024. All rights reserved.