Interface WorkflowRunSummary.Builder

  • Method Details

    • workflowRunArn

      WorkflowRunSummary.Builder workflowRunArn(String workflowRunArn)

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

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

      WorkflowRunSummary.Builder workflowRunId(String workflowRunId)

      The unique identifier of the workflow run.

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

      The current execution status of the workflow run.

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

      The current execution status of the workflow run.

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

      WorkflowRunSummary.Builder startedAt(Instant startedAt)

      The timestamp when the workflow run started execution.

      Parameters:
      startedAt - The timestamp when the workflow run started execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      The timestamp when the workflow run completed execution, if applicable.

      Parameters:
      endedAt - The timestamp when the workflow run completed execution, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceLocation

      WorkflowRunSummary.Builder traceLocation(TraceLocation traceLocation)

      The location where trace information for this workflow run is stored.

      Parameters:
      traceLocation - The location where trace information for this workflow run is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceLocation

      default WorkflowRunSummary.Builder traceLocation(Consumer<TraceLocation.Builder> traceLocation)

      The location where trace information for this workflow run is stored.

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

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

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