public static final class ListNotificationPoliciesResponseBody.NotificationPolicies.Builder extends Object
构造器和说明 |
---|
Builder() |
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder directedMode(Boolean directedMode)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder escalationPolicyId(Long escalationPolicyId)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder groupRule(ListNotificationPoliciesResponseBody.GroupRule groupRule)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder id(Long id)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder integrationId(Long integrationId)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder matchingRules(List<ListNotificationPoliciesResponseBody.MatchingRules> matchingRules)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder name(String name)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder notifyRule(ListNotificationPoliciesResponseBody.NotifyRule notifyRule)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder notifyTemplate(ListNotificationPoliciesResponseBody.NotifyTemplate notifyTemplate)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder repeat(Boolean repeat)
* `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.
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder repeatInterval(Long repeatInterval)
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder sendRecoverMessage(Boolean sendRecoverMessage)
* `true` (default): The system sends a notification. * `false`: The system does not send a notification.
public ListNotificationPoliciesResponseBody.NotificationPolicies.Builder state(String state)
public ListNotificationPoliciesResponseBody.NotificationPolicies build()
Copyright © 2024. All rights reserved.