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