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 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 Jobs
request produced more than the maximum number of results, you can pass this value into a subsequentList Jobs
request in order to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the
List Jobs
request produced more than the maximum number of results, you can pass this value into a subsequentList Jobs
request in order to retrieve the next page of results.- Parameters:
nextToken
- If theList Jobs
request produced more than the maximum number of results, you can pass this value into a subsequentList 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 theJobListDescriptor.Builder
avoiding the need to create one manually viaJobListDescriptor.builder()
.When the
Consumer
completes,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:
-