Interface ListWorkflowExecutionsResponse.Builder

  • Method Details

    • requestId

      The request ID that uniquely identifies this request.

      Parameters:
      requestId - The request ID that uniquely identifies this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowExecutions

      An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.

      Parameters:
      workflowExecutions - An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowExecutions

      ListWorkflowExecutionsResponse.Builder workflowExecutions(WorkflowExecutionMetadata... workflowExecutions)

      An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.

      Parameters:
      workflowExecutions - An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowExecutions

      An array of runtime details that represents each time a workflow ran for the requested image build version. Image Builder retains workflow execution records for a limited time, so this array can be empty for older image build versions.

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

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

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

      ListWorkflowExecutionsResponse.Builder imageBuildVersionArn(String imageBuildVersionArn)

      The resource Amazon Resource Name (ARN) of the image build version for which you requested a list of workflow runtime details.

      Parameters:
      imageBuildVersionArn - The resource Amazon Resource Name (ARN) of the image build version for which you requested a list of workflow runtime details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      The failure reason for the image build version, if it's in a failed state. This comes from the image itself, not from an individual workflow, so it's available even when no workflow executions remain for the image.

      Parameters:
      message - The failure reason for the image build version, if it's in a failed state. This comes from the image itself, not from an individual workflow, so it's available even when no workflow executions remain for the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.

      Parameters:
      nextToken - The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.