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 Alarm sending period in seconds. | 
| Long | getAlarmNotifyType()Get Alarm sending and converging type. | 
| Long | getEventId()Get Alarm event ID. | 
| Long | getRuleId()Get If a metric is created based on a template, the RuleId of the metric in the template must be passed in. | 
| void | setAlarmNotifyPeriod(Long AlarmNotifyPeriod)Set Alarm sending period in seconds. | 
| void | setAlarmNotifyType(Long AlarmNotifyType)Set Alarm sending and converging type. | 
| void | setEventId(Long EventId)Set Alarm event ID. | 
| void | setRuleId(Long RuleId)Set If a metric is created based on a template, the RuleId of the metric in the template must be passed in. | 
| 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, toJsonStringpublic CreatePolicyGroupEventCondition()
public CreatePolicyGroupEventCondition(CreatePolicyGroupEventCondition source)
public Long getEventId()
public void setEventId(Long EventId)
EventId - Alarm event ID.public Long getAlarmNotifyType()
public void setAlarmNotifyType(Long AlarmNotifyType)
AlarmNotifyType - Alarm sending and converging type. The value 0 indicates that alarms are sent consecutively. The value 1 indicates that alarms are sent exponentially.public Long getAlarmNotifyPeriod()
public void setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
AlarmNotifyPeriod - Alarm sending period in seconds. The value <0 indicates that no alarm will be triggered. The value 0 indicates that an alarm is triggered only once. The value >0 indicates that an alarm is triggered at the interval of triggerTime.public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - If a metric is created based on a template, the RuleId of the metric in the template must be passed in.Copyright © 2022. All rights reserved.