Package software.amazon.awscdk.pipelines
Class PermissionsBroadeningCheckProps.Builder
java.lang.Object
software.amazon.awscdk.pipelines.PermissionsBroadeningCheckProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PermissionsBroadeningCheckProps>
- Enclosing interface:
- PermissionsBroadeningCheckProps
@Stability(Stable)
public static final class PermissionsBroadeningCheckProps.Builder
extends Object
implements software.amazon.jsii.Builder<PermissionsBroadeningCheckProps>
A builder for
PermissionsBroadeningCheckProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.notificationTopic
(ITopic notificationTopic) Sets the value ofPermissionsBroadeningCheckProps.getNotificationTopic()
Sets the value ofPermissionsBroadeningCheckProps.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stage
Sets the value ofPermissionsBroadeningCheckProps.getStage()
- Parameters:
stage
- The CDK Stage object to check the stacks of. This parameter is required. This should be the same Stage object you are passing toaddStage()
.- Returns:
this
-
notificationTopic
@Stability(Stable) public PermissionsBroadeningCheckProps.Builder notificationTopic(ITopic notificationTopic) Sets the value ofPermissionsBroadeningCheckProps.getNotificationTopic()
- Parameters:
notificationTopic
- Topic to send notifications when a human needs to give manual confirmation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PermissionsBroadeningCheckProps>
- Returns:
- a new instance of
PermissionsBroadeningCheckProps
- Throws:
NullPointerException
- if any required attribute was not provided
-