Class ModifyPolicyGroupEventCondition
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.ModifyPolicyGroupEventCondition
-
public class ModifyPolicyGroupEventCondition extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyPolicyGroupEventCondition()
ModifyPolicyGroupEventCondition(ModifyPolicyGroupEventCondition 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
getEventId()
Get 事件idLong
getRuleId()
Get 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改void
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次void
setAlarmNotifyType(Long AlarmNotifyType)
Set 告警发送收敛类型。0连续告警,1指数告警void
setEventId(Long EventId)
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
-
ModifyPolicyGroupEventCondition
public ModifyPolicyGroupEventCondition()
-
ModifyPolicyGroupEventCondition
public ModifyPolicyGroupEventCondition(ModifyPolicyGroupEventCondition 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
-
getEventId
public Long getEventId()
Get 事件id- Returns:
- EventId 事件id
-
setEventId
public void setEventId(Long EventId)
Set 事件id- Parameters:
EventId
- 事件id
-
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表示在已存在的规则基础上进行修改
-
-