public static class CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
directedMode
极简模式
|
Long |
escalationPolicyId
The ID of the escalation policy.
|
CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyGroupRule |
groupRule
An array of alert event group objects.
|
Long |
id
The ID of the notification policy.
|
Long |
integrationId
The integration ID of the ticket system to which alerts are pushed.
|
List<CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyMatchingRules> |
matchingRules
An array of alert event matching rule objects.
|
String |
name
The name of the notification policy.
|
CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyRule |
notifyRule
An array of notification rule objects.
|
CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyTemplate |
notifyTemplate
An array of notification template objects.
|
Boolean |
repeat
Indicates whether a notification is resent for a long-lasting unresolved alert.
|
Long |
repeatInterval
The time interval at which a notification is resent for a long-lasting unresolved alert.
|
Boolean |
sendRecoverMessage
Indicates whether the system sends a notification to the contacts when the status of an alert changes to Resolved.
|
String |
state
example:
enable
|
| 构造器和说明 |
|---|
CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy() |
@NameInMap(value="DirectedMode") public Boolean directedMode
极简模式
@NameInMap(value="EscalationPolicyId") public Long escalationPolicyId
The ID of the escalation policy.
example:123
@NameInMap(value="GroupRule") public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyGroupRule groupRule
An array of alert event group objects.
@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<CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyMatchingRules> matchingRules
An array of alert event matching rule objects.
@NameInMap(value="Name") public String name
The name of the notification policy.
example:notificationpolicy_test
@NameInMap(value="NotifyRule") public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyRule notifyRule
An array of notification rule objects.
@NameInMap(value="NotifyTemplate") public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyTemplate notifyTemplate
An array of notification template objects.
@NameInMap(value="Repeat") public Boolean repeat
Indicates whether a notification is resent for a long-lasting unresolved alert. Default value: true. Valid values:
true: The system resends a notification for a long-lasting unresolved alert at a specified time interval.false: The system sends a notification for a long-lasting unresolved alert based on an escalation policy.true
@NameInMap(value="RepeatInterval") public Long repeatInterval
The time interval at which a notification is resent for a long-lasting unresolved alert. Unit: seconds.
example:600
@NameInMap(value="SendRecoverMessage") public Boolean sendRecoverMessage
Indicates whether the system sends a notification to the contacts when the status of an alert changes to Resolved. Default value: true. Valid values:
true: The system sends a notification.false: The system does not send a notification.true
@NameInMap(value="State") public String state
enable
public CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy()
public static CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy build(Map<String,?> map) throws Exception
Exceptionpublic CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setDirectedMode(Boolean directedMode)
public Boolean getDirectedMode()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setEscalationPolicyId(Long escalationPolicyId)
public Long getEscalationPolicyId()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setGroupRule(CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyGroupRule groupRule)
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyGroupRule getGroupRule()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setId(Long id)
public Long getId()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setIntegrationId(Long integrationId)
public Long getIntegrationId()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setMatchingRules(List<CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyMatchingRules> matchingRules)
public List<CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyMatchingRules> getMatchingRules()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setName(String name)
public String getName()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setNotifyRule(CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyRule notifyRule)
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyRule getNotifyRule()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setNotifyTemplate(CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyTemplate notifyTemplate)
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicyNotifyTemplate getNotifyTemplate()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setRepeat(Boolean repeat)
public Boolean getRepeat()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setRepeatInterval(Long repeatInterval)
public Long getRepeatInterval()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setSendRecoverMessage(Boolean sendRecoverMessage)
public Boolean getSendRecoverMessage()
public CreateOrUpdateNotificationPolicyResponseBody.CreateOrUpdateNotificationPolicyResponseBodyNotificationPolicy setState(String state)
public String getState()
Copyright © 2024. All rights reserved.