Interface WorkflowRunDetail.Builder

  • Method Details

    • workflowArn

      WorkflowRunDetail.Builder workflowArn(String workflowArn)

      The Amazon Resource Name (ARN) of the workflow that contains this run.

      Parameters:
      workflowArn - The Amazon Resource Name (ARN) of the workflow that contains this run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowVersion

      WorkflowRunDetail.Builder workflowVersion(String workflowVersion)

      The version of the workflow used for this run.

      Parameters:
      workflowVersion - The version of the workflow used for this run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runId

      The unique identifier of this workflow run.

      Parameters:
      runId - The unique identifier of this workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runType

      The type of workflow run.

      Parameters:
      runType - The type of workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runType

      The type of workflow run.

      Parameters:
      runType - The type of workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startedOn

      WorkflowRunDetail.Builder startedOn(Instant startedOn)

      The timestamp when the workflow run started execution, in ISO 8601 date-time format.

      Parameters:
      startedOn - The timestamp when the workflow run started execution, in ISO 8601 date-time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      WorkflowRunDetail.Builder createdAt(Instant createdAt)

      The timestamp when the workflow run was created, in ISO 8601 date-time format.

      Parameters:
      createdAt - The timestamp when the workflow run was created, in ISO 8601 date-time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedOn

      WorkflowRunDetail.Builder completedOn(Instant completedOn)

      The timestamp when the workflow run completed execution, in ISO 8601 date-time format. This value is null if the run is not complete.

      Parameters:
      completedOn - The timestamp when the workflow run completed execution, in ISO 8601 date-time format. This value is null if the run is not complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedAt

      WorkflowRunDetail.Builder modifiedAt(Instant modifiedAt)

      The timestamp when the workflow run was last modified, in ISO 8601 date-time format.

      Parameters:
      modifiedAt - The timestamp when the workflow run was last modified, in ISO 8601 date-time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      WorkflowRunDetail.Builder duration(Integer duration)

      The total duration of the workflow run execution in seconds. This value is null if the run is not complete.

      Parameters:
      duration - The total duration of the workflow run execution in seconds. This value is null if the run is not complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      WorkflowRunDetail.Builder errorMessage(String errorMessage)

      The error message if the workflow run failed. This value is null if the run completed successfully.

      Parameters:
      errorMessage - The error message if the workflow run failed. This value is null if the run completed successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskInstances

      WorkflowRunDetail.Builder taskInstances(Collection<String> taskInstances)

      A list of task instance IDs that are part of this workflow run.

      Parameters:
      taskInstances - A list of task instance IDs that are part of this workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskInstances

      WorkflowRunDetail.Builder taskInstances(String... taskInstances)

      A list of task instance IDs that are part of this workflow run.

      Parameters:
      taskInstances - A list of task instance IDs that are part of this workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runState

      WorkflowRunDetail.Builder runState(String runState)

      The current execution state of the workflow run.

      Parameters:
      runState - The current execution state of the workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runState

      The current execution state of the workflow run.

      Parameters:
      runState - The current execution state of the workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: