public static final class PipelineNotifyOnOptions.Builder
extends java.lang.Object
PipelineNotifyOnOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PipelineNotifyOnOptions |
build()
Builds the configured instance.
|
PipelineNotifyOnOptions.Builder |
detailType(DetailType detailType)
Sets the value of
NotificationRuleOptions.getDetailType() |
PipelineNotifyOnOptions.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
NotificationRuleOptions.getEnabled() |
PipelineNotifyOnOptions.Builder |
events(java.util.List<? extends PipelineNotificationEvents> events)
Sets the value of
PipelineNotifyOnOptions.getEvents() |
PipelineNotifyOnOptions.Builder |
notificationRuleName(java.lang.String notificationRuleName)
Sets the value of
NotificationRuleOptions.getNotificationRuleName() |
public PipelineNotifyOnOptions.Builder events(java.util.List<? extends PipelineNotificationEvents> events)
PipelineNotifyOnOptions.getEvents()
events
- A list of event types associated with this notification rule for CodePipeline Pipeline. This parameter is required.
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.this
public PipelineNotifyOnOptions.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 PipelineNotifyOnOptions.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 PipelineNotifyOnOptions.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 PipelineNotifyOnOptions build()
PipelineNotifyOnOptions
java.lang.NullPointerException
- if any required attribute was not provided