Class EventCondition
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.EventCondition
-
public class EventCondition extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlarmNotifyPeriod()
Get 告警通知频率 注意:此字段可能返回 null,表示取不到有效值。String
getAlarmNotifyType()
Get 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警) 注意:此字段可能返回 null,表示取不到有效值。String
getEventDisplayName()
Get 事件展示名称(对外)String
getEventID()
Get 事件IDString
getRuleID()
Get 规则IDvoid
setAlarmNotifyPeriod(String AlarmNotifyPeriod)
Set 告警通知频率 注意:此字段可能返回 null,表示取不到有效值。void
setAlarmNotifyType(String AlarmNotifyType)
Set 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警) 注意:此字段可能返回 null,表示取不到有效值。void
setEventDisplayName(String EventDisplayName)
Set 事件展示名称(对外)void
setEventID(String EventID)
Set 事件IDvoid
setRuleID(String RuleID)
Set 规则IDvoid
toMap(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
-
EventCondition
public EventCondition()
-
EventCondition
public 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.
-
-
Method Detail
-
getAlarmNotifyPeriod
public String getAlarmNotifyPeriod()
Get 告警通知频率 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlarmNotifyPeriod 告警通知频率 注意:此字段可能返回 null,表示取不到有效值。
-
setAlarmNotifyPeriod
public void setAlarmNotifyPeriod(String AlarmNotifyPeriod)
Set 告警通知频率 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlarmNotifyPeriod
- 告警通知频率 注意:此字段可能返回 null,表示取不到有效值。
-
getAlarmNotifyType
public String getAlarmNotifyType()
Get 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AlarmNotifyType 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警) 注意:此字段可能返回 null,表示取不到有效值。
-
setAlarmNotifyType
public void setAlarmNotifyType(String AlarmNotifyType)
Set 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AlarmNotifyType
- 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警) 注意:此字段可能返回 null,表示取不到有效值。
-
getEventID
public String getEventID()
Get 事件ID- Returns:
- EventID 事件ID
-
setEventID
public void setEventID(String EventID)
Set 事件ID- Parameters:
EventID
- 事件ID
-
getEventDisplayName
public String getEventDisplayName()
Get 事件展示名称(对外)- Returns:
- EventDisplayName 事件展示名称(对外)
-
setEventDisplayName
public void setEventDisplayName(String EventDisplayName)
Set 事件展示名称(对外)- Parameters:
EventDisplayName
- 事件展示名称(对外)
-
getRuleID
public String getRuleID()
Get 规则ID- Returns:
- RuleID 规则ID
-
setRuleID
public void setRuleID(String RuleID)
Set 规则ID- Parameters:
RuleID
- 规则ID
-
-