Class AlarmsRules
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20210527.models.AlarmsRules
-
public class AlarmsRules extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetInterval()Get 间隔StringgetMetric()Get 指标StringgetName()Get 告警名StringgetOperator()Get 操作符StringgetSeverity()Get 等级 fatal-致命 critical-严重 warning-告警 information-通知FloatgetValue()Get 指标值voidsetInterval(Long Interval)Set 间隔voidsetMetric(String Metric)Set 指标voidsetName(String Name)Set 告警名voidsetOperator(String Operator)Set 操作符voidsetSeverity(String Severity)Set 等级 fatal-致命 critical-严重 warning-告警 information-通知voidsetValue(Float Value)Set 指标值voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AlarmsRules
public AlarmsRules()
-
AlarmsRules
public 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.
-
-
Method Detail
-
getInterval
public Long getInterval()
Get 间隔- Returns:
- Interval 间隔
-
setInterval
public void setInterval(Long Interval)
Set 间隔- Parameters:
Interval- 间隔
-
getName
public String getName()
Get 告警名- Returns:
- Name 告警名
-
setName
public void setName(String Name)
Set 告警名- Parameters:
Name- 告警名
-
getMetric
public String getMetric()
Get 指标- Returns:
- Metric 指标
-
setMetric
public void setMetric(String Metric)
Set 指标- Parameters:
Metric- 指标
-
getOperator
public String getOperator()
Get 操作符- Returns:
- Operator 操作符
-
setOperator
public void setOperator(String Operator)
Set 操作符- Parameters:
Operator- 操作符
-
getSeverity
public String getSeverity()
Get 等级 fatal-致命 critical-严重 warning-告警 information-通知- Returns:
- Severity 等级 fatal-致命 critical-严重 warning-告警 information-通知
-
setSeverity
public void setSeverity(String Severity)
Set 等级 fatal-致命 critical-严重 warning-告警 information-通知- Parameters:
Severity- 等级 fatal-致命 critical-严重 warning-告警 information-通知
-
getValue
public Float getValue()
Get 指标值- Returns:
- Value 指标值
-
setValue
public void setValue(Float Value)
Set 指标值- Parameters:
Value- 指标值
-
-