Interface GetWorkflowRunResponse.Builder

  • Method Details

    • workflowArn

      GetWorkflowRunResponse.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

      GetWorkflowRunResponse.Builder workflowVersion(String workflowVersion)

      The version of the workflow that is used for this run.

      Parameters:
      workflowVersion - The version of the workflow that is 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. Values are ON_DEMAND (manually triggered) or SCHEDULED (automatically triggered by schedule).

      Parameters:
      runType - The type of workflow run. Values are ON_DEMAND (manually triggered) or SCHEDULED (automatically triggered by schedule).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runType

      The type of workflow run. Values are ON_DEMAND (manually triggered) or SCHEDULED (automatically triggered by schedule).

      Parameters:
      runType - The type of workflow run. Values are ON_DEMAND (manually triggered) or SCHEDULED (automatically triggered by schedule).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideParameters

      GetWorkflowRunResponse.Builder overrideParameters(Map<String,Document> overrideParameters)

      Parameters that were overridden for this specific workflow run.

      Parameters:
      overrideParameters - Parameters that were overridden for this specific workflow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runDetail

      Detailed information about the workflow run execution, including timing, status, and task instances.

      Parameters:
      runDetail - Detailed information about the workflow run execution, including timing, status, and task instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runDetail

      Detailed information about the workflow run execution, including timing, status, and task instances.

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

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

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