Interface ForEachStepMetadata.Builder

  • Method Details

    • status

      The status of the ForEach step execution.

      Parameters:
      status - The status of the ForEach step execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the ForEach step execution.

      Parameters:
      status - The status of the ForEach step execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputItemCount

      ForEachStepMetadata.Builder inputItemCount(Integer inputItemCount)

      The number of input items that the ForEach step iterates over.

      Parameters:
      inputItemCount - The number of input items that the ForEach step iterates over.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalStepCount

      ForEachStepMetadata.Builder totalStepCount(Integer totalStepCount)

      The total number of steps generated across all iterations of the ForEach step.

      Parameters:
      totalStepCount - The total number of steps generated across all iterations of the ForEach step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • succeededStepCount

      ForEachStepMetadata.Builder succeededStepCount(Integer succeededStepCount)

      The number of iteration steps that completed successfully.

      Parameters:
      succeededStepCount - The number of iteration steps that completed successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedStepCount

      ForEachStepMetadata.Builder failedStepCount(Integer failedStepCount)

      The number of iteration steps that failed.

      Parameters:
      failedStepCount - The number of iteration steps that failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stoppedStepCount

      ForEachStepMetadata.Builder stoppedStepCount(Integer stoppedStepCount)

      The number of iteration steps that were stopped.

      Parameters:
      stoppedStepCount - The number of iteration steps that were stopped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selector

      Identifies the body step and iteration selected within the ForEach step.

      Parameters:
      selector - Identifies the body step and iteration selected within the ForEach step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selector

      Identifies the body step and iteration selected within the ForEach step.

      This is a convenience method that creates an instance of the ForEachSelectorResult.Builder avoiding the need to create one manually via ForEachSelectorResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to selector(ForEachSelectorResult).

      Parameters:
      selector - a consumer that will call methods on ForEachSelectorResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: