public class ModifyPolicyGroupCondition extends AbstractModel
Constructor and Description |
---|
ModifyPolicyGroupCondition() |
ModifyPolicyGroupCondition(ModifyPolicyGroupCondition 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 |
getAlarmNotifyPeriod()
Get 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
|
Long |
getAlarmNotifyType()
Get 告警发送收敛类型。0连续告警,1指数告警
|
Long |
getCalcPeriod()
Get 检测指标的数据周期
|
Long |
getCalcType()
Get 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等
|
String |
getCalcValue()
Get 检测阈值
|
Long |
getContinuePeriod()
Get 持续周期个数
|
Long |
getMetricId()
Get 指标id
|
Long |
getRuleId()
Get 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改
|
void |
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
|
void |
setAlarmNotifyType(Long AlarmNotifyType)
Set 告警发送收敛类型。0连续告警,1指数告警
|
void |
setCalcPeriod(Long CalcPeriod)
Set 检测指标的数据周期
|
void |
setCalcType(Long CalcType)
Set 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等
|
void |
setCalcValue(String CalcValue)
Set 检测阈值
|
void |
setContinuePeriod(Long ContinuePeriod)
Set 持续周期个数
|
void |
setMetricId(Long MetricId)
Set 指标id
|
void |
setRuleId(Long RuleId)
Set 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改
|
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, toJsonString
public ModifyPolicyGroupCondition()
public ModifyPolicyGroupCondition(ModifyPolicyGroupCondition source)
public Long getMetricId()
public void setMetricId(Long MetricId)
MetricId
- 指标idpublic Long getCalcType()
public void setCalcType(Long CalcType)
CalcType
- 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等public String getCalcValue()
public void setCalcValue(String CalcValue)
CalcValue
- 检测阈值public Long getCalcPeriod()
public void setCalcPeriod(Long CalcPeriod)
CalcPeriod
- 检测指标的数据周期public Long getContinuePeriod()
public void setContinuePeriod(Long ContinuePeriod)
ContinuePeriod
- 持续周期个数public Long getAlarmNotifyType()
public void setAlarmNotifyType(Long AlarmNotifyType)
AlarmNotifyType
- 告警发送收敛类型。0连续告警,1指数告警public Long getAlarmNotifyPeriod()
public void setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
AlarmNotifyPeriod
- 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改Copyright © 2022. All rights reserved.