Interface StepState.Builder

  • Method Details

    • name

      The name of a step in a workflow.

      Parameters:
      name - The name of a step in a workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      StepState.Builder status(String status)

      The status of a step in a workflow. For example, a status might be Completed or Pending Approval.

      Parameters:
      status - The status of a step in a workflow. For example, a status might be Completed or Pending Approval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      StepState.Builder status(StepStatus status)

      The status of a step in a workflow. For example, a status might be Completed or Pending Approval.

      Parameters:
      status - The status of a step in a workflow. For example, a status might be Completed or Pending Approval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startTime

      StepState.Builder startTime(Instant startTime)

      The timestamp when a step started execution.

      Parameters:
      startTime - The timestamp when a step started execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      StepState.Builder endTime(Instant endTime)

      The timestamp when a step endeded execution.

      Parameters:
      endTime - The timestamp when a step endeded execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stepMode

      StepState.Builder stepMode(String stepMode)

      The mode for a step execution. The mode can be Graceful or Ungraceful.

      Parameters:
      stepMode - The mode for a step execution. The mode can be Graceful or Ungraceful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stepMode

      StepState.Builder stepMode(ExecutionMode stepMode)

      The mode for a step execution. The mode can be Graceful or Ungraceful.

      Parameters:
      stepMode - The mode for a step execution. The mode can be Graceful or Ungraceful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: