Interface SearchJobsResponse.Builder

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

public static interface SearchJobsResponse.Builder extends BraketResponse.Builder, SdkPojo, CopyableBuilder<SearchJobsResponse.Builder,SearchJobsResponse>
  • Method Details

    • jobs

      An array of JobSummary objects for devices that match the specified filter values.

      Parameters:
      jobs - An array of JobSummary objects for devices that match the specified filter values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      An array of JobSummary objects for devices that match the specified filter values.

      Parameters:
      jobs - An array of JobSummary objects for devices that match the specified filter values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      An array of JobSummary objects for devices that match the specified filter values.

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

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

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

      SearchJobsResponse.Builder nextToken(String nextToken)

      A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.

      Parameters:
      nextToken - A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.