Interface ListJobsResponse.Builder

  • Method Details

    • jobs

      The list of asynchronous jobs.

      Parameters:
      jobs - The list of asynchronous jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      The list of asynchronous jobs.

      Parameters:
      jobs - The list of asynchronous jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      The list of asynchronous jobs.

      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

      ListJobsResponse.Builder nextToken(String nextToken)

      The token to retrieve the next page of results. This value is returned when more results are available, and is null when there are no more results to return.

      Parameters:
      nextToken - The token to retrieve the next page of results. This value is returned when more results are available, and 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.