Interface GetWorkflowRunResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeCatalystResponse.Builder, CopyableBuilder<GetWorkflowRunResponse.Builder,GetWorkflowRunResponse>, SdkBuilder<GetWorkflowRunResponse.Builder,GetWorkflowRunResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetWorkflowRunResponse

public static interface GetWorkflowRunResponse.Builder extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowRunResponse.Builder,GetWorkflowRunResponse>
  • Method Details

    • spaceName

      GetWorkflowRunResponse.Builder spaceName(String spaceName)

      The name of the space.

      Parameters:
      spaceName - The name of the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectName

      GetWorkflowRunResponse.Builder projectName(String projectName)

      The name of the project in the space.

      Parameters:
      projectName - The name of the project in the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the workflow run.

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

      GetWorkflowRunResponse.Builder workflowId(String workflowId)

      The ID of the workflow.

      Parameters:
      workflowId - The ID 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

      Information about the reasons for the status of the workflow run.

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

      Information about the reasons for the status of the workflow run.

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

      Information about the reasons for the status of the workflow run.

      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

      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

      GetWorkflowRunResponse.Builder lastUpdatedTime(Instant lastUpdatedTime)

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

      Parameters:
      lastUpdatedTime - The date and time the workflow run status 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.