public class EventCondition extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| EventCondition() | 
| EventCondition(EventCondition 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 | 
|---|---|
| String | getAlarmNotifyPeriod()Get 告警通知频率
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getAlarmNotifyType()Get 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getEventDisplayName()Get 事件展示名称(对外) | 
| String | getEventID()Get 事件ID | 
| String | getMetricName()Get 指标名
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getRuleID()Get 规则ID | 
| void | setAlarmNotifyPeriod(String AlarmNotifyPeriod)Set 告警通知频率
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setAlarmNotifyType(String AlarmNotifyType)Set 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setEventDisplayName(String EventDisplayName)Set 事件展示名称(对外) | 
| void | setEventID(String EventID)Set 事件ID | 
| void | setMetricName(String MetricName)Set 指标名
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setRuleID(String RuleID)Set 规则ID | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic EventCondition()
public EventCondition(EventCondition source)
public String getAlarmNotifyPeriod()
public void setAlarmNotifyPeriod(String AlarmNotifyPeriod)
AlarmNotifyPeriod - 告警通知频率
注意:此字段可能返回 null,表示取不到有效值。public String getAlarmNotifyType()
public void setAlarmNotifyType(String AlarmNotifyType)
AlarmNotifyType - 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
注意:此字段可能返回 null,表示取不到有效值。public String getEventID()
public void setEventID(String EventID)
EventID - 事件IDpublic String getEventDisplayName()
public void setEventDisplayName(String EventDisplayName)
EventDisplayName - 事件展示名称(对外)public String getRuleID()
public void setRuleID(String RuleID)
RuleID - 规则IDpublic String getMetricName()
public void setMetricName(String MetricName)
MetricName - 指标名
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.