Class Parallel.Builder

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

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

    • create

      @Stability(Stable) public static Parallel.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 Parallel.Builder.
    • comment

      @Stability(Stable) public Parallel.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
    • inputPath

      @Stability(Stable) public Parallel.Builder inputPath(String inputPath)
      JSONPath expression to select part of the state to be the input to this state.

      May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.

      Default: $

      Parameters:
      inputPath - JSONPath expression to select part of the state to be the input to this state. This parameter is required.
      Returns:
      this
    • outputPath

      @Stability(Stable) public Parallel.Builder outputPath(String outputPath)
      JSONPath expression to select part of the state to be the output to this state.

      May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.

      Default: $

      Parameters:
      outputPath - JSONPath expression to select part of the state to be the output to this state. This parameter is required.
      Returns:
      this
    • resultPath

      @Stability(Stable) public Parallel.Builder resultPath(String resultPath)
      JSONPath expression to indicate where to inject the state's output.

      May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.

      Default: $

      Parameters:
      resultPath - JSONPath expression to indicate where to inject the state's output. This parameter is required.
      Returns:
      this
    • resultSelector

      @Stability(Stable) public Parallel.Builder resultSelector(Map<String,? extends Object> resultSelector)
      The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.

      You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.

      Default: - None

      Parameters:
      resultSelector - The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. This parameter is required.
      Returns:
      this
      See Also:
    • stateName

      @Stability(Stable) public Parallel.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 Parallel build()
      Specified by:
      build in interface software.amazon.jsii.Builder<Parallel>
      Returns:
      a newly built instance of Parallel.