Interface WorkflowRunSummary.Builder

  • Method Details

    • id

      The system-generated unique ID of the workflow run.

      Parameters:
      id - The system-generated unique ID of the workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowId

      WorkflowRunSummary.Builder workflowId(String workflowId)

      The system-generated unique ID of the workflow.

      Parameters:
      workflowId - The system-generated unique ID of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowName

      WorkflowRunSummary.Builder workflowName(String workflowName)

      The name of the workflow.

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

      The status of the workflow run.

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

      The status of the workflow run.

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

      The reasons for the workflow run status.

      Parameters:
      statusReasons - The reasons for the workflow run status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasons

      WorkflowRunSummary.Builder statusReasons(WorkflowRunStatusReason... statusReasons)

      The reasons for the workflow run status.

      Parameters:
      statusReasons - The reasons for the workflow run status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasons

      The reasons for the workflow run status.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statusReasons(List<WorkflowRunStatusReason>).

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

      WorkflowRunSummary.Builder startTime(Instant startTime)

      The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

      Parameters:
      startTime - The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339

      Parameters:
      endTime - The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      WorkflowRunSummary.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339

      Parameters:
      lastUpdatedTime - The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
      Returns:
      Returns a reference to this object so that method calls can be chained together.