public class CreatePolicyGroupEventCondition extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAlarmNotifyPeriod()
Get 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
|
Long |
getAlarmNotifyType()
Get 告警发送收敛类型。0连续告警,1指数告警
|
Long |
getEventId()
Get 告警事件的Id
|
Long |
getRuleId()
Get 如果通过模板创建,需要传入模板中该指标的对应RuleId
|
void |
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
|
void |
setAlarmNotifyType(Long AlarmNotifyType)
Set 告警发送收敛类型。0连续告警,1指数告警
|
void |
setEventId(Long EventId)
Set 告警事件的Id
|
void |
setRuleId(Long RuleId)
Set 如果通过模板创建,需要传入模板中该指标的对应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 CreatePolicyGroupEventCondition()
public CreatePolicyGroupEventCondition(CreatePolicyGroupEventCondition source)
public Long getEventId()
public void setEventId(Long EventId)
EventId
- 告警事件的Idpublic 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
- 如果通过模板创建,需要传入模板中该指标的对应RuleIdCopyright © 2023. All rights reserved.