Class ModifyPolicyGroupCondition
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.ModifyPolicyGroupCondition
-
public class ModifyPolicyGroupCondition extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 指标idLong
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 指标idvoid
setRuleId(Long RuleId)
Set 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改void
toMap(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
-
ModifyPolicyGroupCondition
public ModifyPolicyGroupCondition()
-
ModifyPolicyGroupCondition
public 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.
-
-
Method Detail
-
getMetricId
public Long getMetricId()
Get 指标id- Returns:
- MetricId 指标id
-
setMetricId
public void setMetricId(Long MetricId)
Set 指标id- Parameters:
MetricId
- 指标id
-
getCalcType
public Long getCalcType()
Get 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等- Returns:
- CalcType 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等
-
setCalcType
public void setCalcType(Long CalcType)
Set 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等- Parameters:
CalcType
- 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等
-
getCalcValue
public String getCalcValue()
Get 检测阈值- Returns:
- CalcValue 检测阈值
-
setCalcValue
public void setCalcValue(String CalcValue)
Set 检测阈值- Parameters:
CalcValue
- 检测阈值
-
getCalcPeriod
public Long getCalcPeriod()
Get 检测指标的数据周期- Returns:
- CalcPeriod 检测指标的数据周期
-
setCalcPeriod
public void setCalcPeriod(Long CalcPeriod)
Set 检测指标的数据周期- Parameters:
CalcPeriod
- 检测指标的数据周期
-
getContinuePeriod
public Long getContinuePeriod()
Get 持续周期个数- Returns:
- ContinuePeriod 持续周期个数
-
setContinuePeriod
public void setContinuePeriod(Long ContinuePeriod)
Set 持续周期个数- Parameters:
ContinuePeriod
- 持续周期个数
-
getAlarmNotifyType
public Long getAlarmNotifyType()
Get 告警发送收敛类型。0连续告警,1指数告警- Returns:
- AlarmNotifyType 告警发送收敛类型。0连续告警,1指数告警
-
setAlarmNotifyType
public void setAlarmNotifyType(Long AlarmNotifyType)
Set 告警发送收敛类型。0连续告警,1指数告警- Parameters:
AlarmNotifyType
- 告警发送收敛类型。0连续告警,1指数告警
-
getAlarmNotifyPeriod
public Long getAlarmNotifyPeriod()
Get 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次- Returns:
- AlarmNotifyPeriod 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
-
setAlarmNotifyPeriod
public void setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次- Parameters:
AlarmNotifyPeriod
- 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
-
getRuleId
public Long getRuleId()
Get 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改- Returns:
- RuleId 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改
-
setRuleId
public void setRuleId(Long RuleId)
Set 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改- Parameters:
RuleId
- 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改
-
-