Interface ListClusterJobsResponse.Builder

  • Method Details

    • jobListEntries

      ListClusterJobsResponse.Builder jobListEntries(Collection<JobListEntry> jobListEntries)

      Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.

      Parameters:
      jobListEntries - Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobListEntries

      ListClusterJobsResponse.Builder jobListEntries(JobListEntry... jobListEntries)

      Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.

      Parameters:
      jobListEntries - Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobListEntries

      Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.

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

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

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

      HTTP requests are stateless. If you use the automatically generated NextToken value in your next ListClusterJobsResult call, your list of returned jobs will start from this point in the array.

      Parameters:
      nextToken - HTTP requests are stateless. If you use the automatically generated NextToken value in your next ListClusterJobsResult call, your list of returned jobs will start from this point in the array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.