Interface ListJobsResponse.Builder

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

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

    • nextToken

      ListJobsResponse.Builder nextToken(String nextToken)

      If the List Jobs request produced more than the maximum number of results, you can pass this value into a subsequent List Jobs request in order to retrieve the next page of results.

      Parameters:
      nextToken - If the List Jobs request produced more than the maximum number of results, you can pass this value into a subsequent List Jobs request in order to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      The list of current jobs and jobs that have ended within the last 30 days.

      Parameters:
      jobs - The list of current jobs and jobs that have ended within the last 30 days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      The list of current jobs and jobs that have ended within the last 30 days.

      Parameters:
      jobs - The list of current jobs and jobs that have ended within the last 30 days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobs

      The list of current jobs and jobs that have ended within the last 30 days.

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

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

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