Class Wait.Builder

java.lang.Object
software.amazon.awscdk.services.stepfunctions.Wait.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Wait>
Enclosing class:
Wait

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

    • create

      @Stability(Stable) public static Wait.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - Descriptive identifier for this chainable. This parameter is required.
      Returns:
      a new instance of Wait.Builder.
    • time

      @Stability(Stable) public Wait.Builder time(WaitTime time)
      Wait duration.

      Parameters:
      time - Wait duration. This parameter is required.
      Returns:
      this
    • comment

      @Stability(Stable) public Wait.Builder comment(String comment)
      An optional description for this state.

      Default: No comment

      Parameters:
      comment - An optional description for this state. This parameter is required.
      Returns:
      this
    • stateName

      @Stability(Stable) public Wait.Builder stateName(String stateName)
      Optional name for this state.

      Default: - The construct ID will be used as state name

      Parameters:
      stateName - Optional name for this state. This parameter is required.
      Returns:
      this
    • build

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