Interface ListJobsResponse.Builder

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

public static interface ListJobsResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
  • Method Details

    • jobSummaryList

      ListJobsResponse.Builder jobSummaryList(Collection<JobSummary> jobSummaryList)

      A list of job summaries that match the request.

      Parameters:
      jobSummaryList - A list of job summaries that match the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobSummaryList

      ListJobsResponse.Builder jobSummaryList(JobSummary... jobSummaryList)

      A list of job summaries that match the request.

      Parameters:
      jobSummaryList - A list of job summaries that match the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobSummaryList

      ListJobsResponse.Builder jobSummaryList(Consumer<JobSummary.Builder>... jobSummaryList)

      A list of job summaries that match the request.

      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 jobSummaryList(List<JobSummary>).

      Parameters:
      jobSummaryList - 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

      ListJobsResponse.Builder nextToken(String nextToken)

      The nextToken value to include in a future ListJobs request. When the results of a ListJobs request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The nextToken value to include in a future ListJobs request. When the results of a ListJobs request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.