Package software.amazon.awscdk.pipelines
Class ManualApprovalStep.Builder
java.lang.Object
software.amazon.awscdk.pipelines.ManualApprovalStep.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ManualApprovalStep>
- Enclosing class:
ManualApprovalStep
@Stability(Stable)
public static final class ManualApprovalStep.Builder
extends Object
implements software.amazon.jsii.Builder<ManualApprovalStep>
A fluent builder for
ManualApprovalStep
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The comment to display with this manual approval.static ManualApprovalStep.Builder
notificationTopic
(ITopic notificationTopic) Optional SNS topic to send notifications to when an approval is pending.The URL for review associated with this manual approval.
-
Method Details
-
create
- Parameters:
id
- Identifier for this step. This parameter is required.- Returns:
- a new instance of
ManualApprovalStep.Builder
.
-
comment
The comment to display with this manual approval.Default: - No comment
- Parameters:
comment
- The comment to display with this manual approval. This parameter is required.- Returns:
this
-
notificationTopic
Optional SNS topic to send notifications to when an approval is pending.Default: - No notifications
- Parameters:
notificationTopic
- Optional SNS topic to send notifications to when an approval is pending. This parameter is required.- Returns:
this
-
reviewUrl
The URL for review associated with this manual approval.Default: - No URL
- Parameters:
reviewUrl
- The URL for review associated with this manual approval. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ManualApprovalStep>
- Returns:
- a newly built instance of
ManualApprovalStep
.
-