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 Details

    • create

      @Stability(Stable) public static ManualApprovalStep.Builder create(String id)
      Parameters:
      id - Identifier for this step. This parameter is required.
      Returns:
      a new instance of ManualApprovalStep.Builder.
    • comment

      @Stability(Stable) public ManualApprovalStep.Builder comment(String 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

      @Stability(Stable) public ManualApprovalStep.Builder notificationTopic(ITopic 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

      @Stability(Stable) public ManualApprovalStep.Builder reviewUrl(String 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

      @Stability(Stable) public ManualApprovalStep build()
      Specified by:
      build in interface software.amazon.jsii.Builder<ManualApprovalStep>
      Returns:
      a newly built instance of ManualApprovalStep.