Class Wave.Builder

java.lang.Object
software.amazon.awscdk.pipelines.Wave.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Wave>
Enclosing class:
Wave

@Stability(Stable) public static final class Wave.Builder extends Object implements software.amazon.jsii.Builder<Wave>
A fluent builder for Wave.
  • Method Details

    • create

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

      @Stability(Stable) public Wave.Builder post(List<? extends Step> post)
      Additional steps to run after all of the stages in the wave.

      Default: - No additional steps

      Parameters:
      post - Additional steps to run after all of the stages in the wave. This parameter is required.
      Returns:
      this
    • pre

      @Stability(Stable) public Wave.Builder pre(List<? extends Step> pre)
      Additional steps to run before any of the stages in the wave.

      Default: - No additional steps

      Parameters:
      pre - Additional steps to run before any of the stages in the wave. This parameter is required.
      Returns:
      this
    • build

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