Interface ListJobsResponse.Builder

  • Method Details

    • nextToken

      ListJobsResponse.Builder nextToken(String nextToken)

      If the response is truncated, this token retrieves the next set of results.

      Parameters:
      nextToken - If the response is truncated, this token retrieves the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobSummaries

      ListJobsResponse.Builder jobSummaries(Collection<JobSummary> jobSummaries)

      An array of JobSummary objects that provide summary information about the jobs.

      Parameters:
      jobSummaries - An array of JobSummary objects that provide summary information about the jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobSummaries

      ListJobsResponse.Builder jobSummaries(JobSummary... jobSummaries)

      An array of JobSummary objects that provide summary information about the jobs.

      Parameters:
      jobSummaries - An array of JobSummary objects that provide summary information about the jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobSummaries

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

      An array of JobSummary objects that provide summary information about the 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 jobSummaries(List<JobSummary>).

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