Class NotificationRuleReference.Builder
java.lang.Object
software.amazon.awscdk.services.codestarnotifications.NotificationRuleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotificationRuleReference>
- Enclosing interface:
NotificationRuleReference
@Stability(Stable)
public static final class NotificationRuleReference.Builder
extends Object
implements software.amazon.jsii.Builder<NotificationRuleReference>
A builder for
NotificationRuleReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.notificationRuleArn
(String notificationRuleArn) Sets the value ofNotificationRuleReference.getNotificationRuleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notificationRuleArn
@Stability(Stable) public NotificationRuleReference.Builder notificationRuleArn(String notificationRuleArn) Sets the value ofNotificationRuleReference.getNotificationRuleArn()
- Parameters:
notificationRuleArn
- The Arn of the NotificationRule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NotificationRuleReference>
- Returns:
- a new instance of
NotificationRuleReference
- Throws:
NullPointerException
- if any required attribute was not provided
-