@Stability(value=Stable) public static final class RepositoryNotifyOnOptions.Builder extends Object implements software.amazon.jsii.Builder<RepositoryNotifyOnOptions>
RepositoryNotifyOnOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryNotifyOnOptions |
build()
Builds the configured instance.
|
RepositoryNotifyOnOptions.Builder |
detailType(DetailType detailType)
Sets the value of
NotificationRuleOptions.getDetailType() |
RepositoryNotifyOnOptions.Builder |
enabled(Boolean enabled)
Sets the value of
NotificationRuleOptions.getEnabled() |
RepositoryNotifyOnOptions.Builder |
events(List<? extends RepositoryNotificationEvents> events)
Sets the value of
RepositoryNotifyOnOptions.getEvents() |
RepositoryNotifyOnOptions.Builder |
notificationRuleName(String notificationRuleName)
Sets the value of
NotificationRuleOptions.getNotificationRuleName() |
@Stability(value=Stable) public RepositoryNotifyOnOptions.Builder events(List<? extends RepositoryNotificationEvents> events)
RepositoryNotifyOnOptions.getEvents()events - A list of event types associated with this notification rule for CodeCommit repositories. This parameter is required.
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.this@Stability(value=Stable) public RepositoryNotifyOnOptions.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@Stability(value=Stable) public RepositoryNotifyOnOptions.Builder enabled(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@Stability(value=Stable) public RepositoryNotifyOnOptions.Builder notificationRuleName(String notificationRuleName)
NotificationRuleOptions.getNotificationRuleName()notificationRuleName - The name for the notification rule.
Notification rule names must be unique in your AWS account.this@Stability(value=Stable) public RepositoryNotifyOnOptions build()
build in interface software.amazon.jsii.Builder<RepositoryNotifyOnOptions>RepositoryNotifyOnOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.