@Stability(value=Stable) public static final class ProjectNotifyOnOptions.Builder extends Object implements software.amazon.jsii.Builder<ProjectNotifyOnOptions>
ProjectNotifyOnOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ProjectNotifyOnOptions |
build()
Builds the configured instance.
|
ProjectNotifyOnOptions.Builder |
detailType(DetailType detailType)
Sets the value of
NotificationRuleOptions.getDetailType() |
ProjectNotifyOnOptions.Builder |
enabled(Boolean enabled)
Sets the value of
NotificationRuleOptions.getEnabled() |
ProjectNotifyOnOptions.Builder |
events(List<? extends ProjectNotificationEvents> events)
Sets the value of
ProjectNotifyOnOptions.getEvents() |
ProjectNotifyOnOptions.Builder |
notificationRuleName(String notificationRuleName)
Sets the value of
NotificationRuleOptions.getNotificationRuleName() |
@Stability(value=Stable) public ProjectNotifyOnOptions.Builder events(List<? extends ProjectNotificationEvents> events)
ProjectNotifyOnOptions.getEvents()events - A list of event types associated with this notification rule for CodeBuild Project. 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 ProjectNotifyOnOptions.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 ProjectNotifyOnOptions.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 ProjectNotifyOnOptions.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 ProjectNotifyOnOptions build()
build in interface software.amazon.jsii.Builder<ProjectNotifyOnOptions>ProjectNotifyOnOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.