public static final class NotificationRuleOptions.Builder
extends java.lang.Object
NotificationRuleOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NotificationRuleOptions |
build()
Builds the configured instance.
|
NotificationRuleOptions.Builder |
detailType(DetailType detailType)
Sets the value of
NotificationRuleOptions.getDetailType() |
NotificationRuleOptions.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
NotificationRuleOptions.getEnabled() |
NotificationRuleOptions.Builder |
notificationRuleName(java.lang.String notificationRuleName)
Sets the value of
NotificationRuleOptions.getNotificationRuleName() |
public NotificationRuleOptions.Builder detailType(DetailType detailType)
NotificationRuleOptions.getDetailType()
detailType
- The level of detail to include in the notifications for this resource.
BASIC will include only the contents of the event as it would appear in AWS CloudWatch.
FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.this
public NotificationRuleOptions.Builder enabled(java.lang.Boolean enabled)
NotificationRuleOptions.getEnabled()
enabled
- The status of the notification rule.
If the enabled is set to DISABLED, notifications aren't sent for the notification rule.this
public NotificationRuleOptions.Builder notificationRuleName(java.lang.String notificationRuleName)
NotificationRuleOptions.getNotificationRuleName()
notificationRuleName
- The name for the notification rule.
Notification rule names must be unique in your AWS account.this
public NotificationRuleOptions build()
NotificationRuleOptions
java.lang.NullPointerException
- if any required attribute was not provided