Interface ListJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobsResponse.Builder,,ListJobsResponse> S3ControlResponse.Builder,SdkBuilder<ListJobsResponse.Builder,,ListJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListJobsResponse
@Mutable
@NotThreadSafe
public static interface ListJobsResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobs(Collection<JobListDescriptor> jobs) The list of current jobs and jobs that have ended within the last 30 days.jobs(Consumer<JobListDescriptor.Builder>... jobs) The list of current jobs and jobs that have ended within the last 30 days.jobs(JobListDescriptor... jobs) The list of current jobs and jobs that have ended within the last 30 days.If theList Jobsrequest produced more than the maximum number of results, you can pass this value into a subsequentList Jobsrequest in order to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the
List Jobsrequest produced more than the maximum number of results, you can pass this value into a subsequentList Jobsrequest in order to retrieve the next page of results.- Parameters:
nextToken- If theList Jobsrequest produced more than the maximum number of results, you can pass this value into a subsequentList Jobsrequest 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 theJobListDescriptor.Builderavoiding the need to create one manually viaJobListDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobs(List<JobListDescriptor>).- Parameters:
jobs- a consumer that will call methods onJobListDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-