public class ModifyPolicyGroupEventCondition extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAlarmNotifyPeriod()
Get Alarm sending period in seconds.
|
Long |
getAlarmNotifyType()
Get Alarm sending and convergence type.
|
Long |
getEventId()
Get Event ID.
|
Long |
getRuleId()
Get Rule ID.
|
void |
setAlarmNotifyPeriod(Long AlarmNotifyPeriod)
Set Alarm sending period in seconds.
|
void |
setAlarmNotifyType(Long AlarmNotifyType)
Set Alarm sending and convergence type.
|
void |
setEventId(Long EventId)
Set Event ID.
|
void |
setRuleId(Long RuleId)
Set Rule ID.
|
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 ModifyPolicyGroupEventCondition()
public ModifyPolicyGroupEventCondition(ModifyPolicyGroupEventCondition source)
public Long getEventId()
public void setEventId(Long EventId)
EventId
- Event ID.public Long getAlarmNotifyType()
public void setAlarmNotifyType(Long AlarmNotifyType)
AlarmNotifyType
- Alarm sending and convergence 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. If the value is less than 0, no alarm will be triggered. If the value is 0, an alarm will be triggered only once. If the value is greater than 0, an alarm will be triggered at the interval of triggerTime.public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- Rule ID. No filling means new addition while filling in ruleId means to modify existing rules.Copyright © 2023. All rights reserved.