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