public static class ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
directedMode
Indicates whether simple mode is enabled.
|
Long |
escalationPolicyId
The ID of the escalation policy.
|
ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesGroupRule |
groupRule
The grouping rule for alert events.
|
Long |
id
The ID of the notification policy.
|
Long |
integrationId
The integration ID of the ticket system to which alerts are pushed.
|
List<ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesMatchingRules> |
matchingRules
The matching rules for alert events.
|
String |
name
The name of the notification policy.
|
ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyRule |
notifyRule
The notification rules.
|
ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate |
notifyTemplate
The notification templates.
|
Boolean |
repeat
Indicates whether the system resends notifications for a long-lasting unresolved alert.
|
Long |
repeatInterval
The time interval at which notifications are resent for a long-lasting unresolved alert.
|
Boolean |
sendRecoverMessage
Indicates whether the status of an alert automatically changes to Resolved when all events related to the alert change to the Restored state.
|
String |
state
example:
enable
|
| 构造器和说明 |
|---|
ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies() |
@NameInMap(value="DirectedMode") public Boolean directedMode
Indicates whether simple mode is enabled.
@NameInMap(value="EscalationPolicyId") public Long escalationPolicyId
The ID of the escalation policy.
example:123
@NameInMap(value="GroupRule") public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesGroupRule groupRule
The grouping rule for alert events.
@NameInMap(value="Id") public Long id
The ID of the notification policy.
example:1234
@NameInMap(value="IntegrationId") public Long integrationId
The integration ID of the ticket system to which alerts are pushed.
example:34
@NameInMap(value="MatchingRules") public List<ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesMatchingRules> matchingRules
The matching rules for alert events.
@NameInMap(value="Name") public String name
The name of the notification policy.
example:notificationpolicy_test
@NameInMap(value="NotifyRule") public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyRule notifyRule
The notification rules.
@NameInMap(value="NotifyTemplate") public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate notifyTemplate
The notification templates.
@NameInMap(value="Repeat") public Boolean repeat
Indicates whether the system resends notifications for a long-lasting unresolved alert. Valid values:
true (default): The system resends notifications for a long-lasting unresolved alert at a specified time interval.false: The system resends notifications for a long-lasting unresolved alert based on an escalation policy.true
@NameInMap(value="RepeatInterval") public Long repeatInterval
The time interval at which notifications are resent for a long-lasting unresolved alert. Unit: seconds.
example:600
@NameInMap(value="SendRecoverMessage") public Boolean sendRecoverMessage
Indicates whether the status of an alert automatically changes to Resolved when all events related to the alert change to the Restored state. The system sends a notification to the alert contacts when the alert status changes to Resolved.
true (default): The system sends a notification.false: The system does not send a notification.true
@NameInMap(value="State") public String state
enable
public ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies()
public static ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies build(Map<String,?> map) throws Exception
Exceptionpublic ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setDirectedMode(Boolean directedMode)
public Boolean getDirectedMode()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setEscalationPolicyId(Long escalationPolicyId)
public Long getEscalationPolicyId()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setGroupRule(ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesGroupRule groupRule)
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesGroupRule getGroupRule()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setId(Long id)
public Long getId()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setIntegrationId(Long integrationId)
public Long getIntegrationId()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setMatchingRules(List<ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesMatchingRules> matchingRules)
public List<ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesMatchingRules> getMatchingRules()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setName(String name)
public String getName()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setNotifyRule(ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyRule notifyRule)
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyRule getNotifyRule()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setNotifyTemplate(ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate notifyTemplate)
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPoliciesNotifyTemplate getNotifyTemplate()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setRepeat(Boolean repeat)
public Boolean getRepeat()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setRepeatInterval(Long repeatInterval)
public Long getRepeatInterval()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setSendRecoverMessage(Boolean sendRecoverMessage)
public Boolean getSendRecoverMessage()
public ListNotificationPoliciesResponseBody.ListNotificationPoliciesResponseBodyPageBeanNotificationPolicies setState(String state)
public String getState()
Copyright © 2024. All rights reserved.