public static class DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dispatchType
Alarm handling method.
|
List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleGroupRules> |
groupRules
The information about groups.
|
Boolean |
isRecover
Whether to send recovered alerts.
|
DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGrid |
labelMatchExpressionGrid
The information about the dispatch rule.
|
String |
name
The name of the dispatch policy.
|
List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleNotifyRules> |
notifyRules
The collection of notification methods.
|
Long |
ruleId
The ID of the dispatch rule.
|
String |
state
Indicates whether the dispatch policy is enabled.
|
| 构造器和说明 |
|---|
DescribeDispatchRuleResponseBodyDispatchRule() |
@NameInMap(value="DispatchType") public String dispatchType
Alarm handling method.
CREATE_ALERT: Generate an alert.
DISCARD_ALERT: Discard the alarm event, that is, no alarm.
example:CREATE_ALERT
@NameInMap(value="GroupRules") public List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleGroupRules> groupRules
The information about groups.
@NameInMap(value="IsRecover") public Boolean isRecover
Whether to send recovered alerts. true: send. false: do not send.
example:true
@NameInMap(value="LabelMatchExpressionGrid") public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGrid labelMatchExpressionGrid
The information about the dispatch rule.
@NameInMap(value="Name") public String name
The name of the dispatch policy.
example:Prometheus Alert
@NameInMap(value="NotifyRules") public List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleNotifyRules> notifyRules
The collection of notification methods.
@NameInMap(value="RuleId") public Long ruleId
The ID of the dispatch rule.
example:10282
@NameInMap(value="State") public String state
Indicates whether the dispatch policy is enabled. Valid values:
true: enabledfalse: disabledtrue
public DescribeDispatchRuleResponseBodyDispatchRule()
public static DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule build(Map<String,?> map) throws Exception
Exceptionpublic DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setDispatchType(String dispatchType)
public String getDispatchType()
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setGroupRules(List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleGroupRules> groupRules)
public List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleGroupRules> getGroupRules()
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setIsRecover(Boolean isRecover)
public Boolean getIsRecover()
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setLabelMatchExpressionGrid(DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGrid labelMatchExpressionGrid)
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGrid getLabelMatchExpressionGrid()
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setName(String name)
public String getName()
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setNotifyRules(List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleNotifyRules> notifyRules)
public List<DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRuleNotifyRules> getNotifyRules()
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setRuleId(Long ruleId)
public Long getRuleId()
public DescribeDispatchRuleResponseBody.DescribeDispatchRuleResponseBodyDispatchRule setState(String state)
public String getState()
Copyright © 2024. All rights reserved.