Class CreatePolicyGroupEventCondition
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.CreatePolicyGroupEventCondition
-
public class CreatePolicyGroupEventCondition extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreatePolicyGroupEventCondition()CreatePolicyGroupEventCondition(CreatePolicyGroupEventCondition 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 LonggetAlarmNotifyPeriod()Get 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次LonggetAlarmNotifyType()Get 告警发送收敛类型。0连续告警,1指数告警LonggetEventId()Get 告警事件的IdLonggetRuleId()Get 如果通过模板创建,需要传入模板中该指标的对应RuleIdvoidsetAlarmNotifyPeriod(Long AlarmNotifyPeriod)Set 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次voidsetAlarmNotifyType(Long AlarmNotifyType)Set 告警发送收敛类型。0连续告警,1指数告警voidsetEventId(Long EventId)Set 告警事件的IdvoidsetRuleId(Long RuleId)Set 如果通过模板创建,需要传入模板中该指标的对应RuleIdvoidtoMap(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
-
CreatePolicyGroupEventCondition
public CreatePolicyGroupEventCondition()
-
CreatePolicyGroupEventCondition
public CreatePolicyGroupEventCondition(CreatePolicyGroupEventCondition 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 如果通过模板创建,需要传入模板中该指标的对应RuleId- Returns:
- RuleId 如果通过模板创建,需要传入模板中该指标的对应RuleId
-
setRuleId
public void setRuleId(Long RuleId)
Set 如果通过模板创建,需要传入模板中该指标的对应RuleId- Parameters:
RuleId- 如果通过模板创建,需要传入模板中该指标的对应RuleId
-
-