Interface ListJobsResponse.Builder

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

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

    • jobListEntries

      ListJobsResponse.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

      ListJobsResponse.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

      ListJobsResponse.Builder jobListEntries(Consumer<JobListEntry.Builder>... 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

      ListJobsResponse.Builder nextToken(String nextToken)

      HTTP requests are stateless. If you use this automatically generated NextToken value in your next ListJobs call, your returned JobListEntry objects will start from this point in the array.

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