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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsResponse.Builderjobs(Collection<JobListDescriptor> jobs)The list of current jobs and jobs that have ended within the last 30 days.ListJobsResponse.Builderjobs(Consumer<JobListDescriptor.Builder>... jobs)The list of current jobs and jobs that have ended within the last 30 days.ListJobsResponse.Builderjobs(JobListDescriptor... jobs)The list of current jobs and jobs that have ended within the last 30 days.ListJobsResponse.BuildernextToken(String 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.-
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 Detail
-
nextToken
ListJobsResponse.Builder nextToken(String 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
ListJobsResponse.Builder jobs(Collection<JobListDescriptor> 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
ListJobsResponse.Builder jobs(JobListDescriptor... 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
ListJobsResponse.Builder jobs(Consumer<JobListDescriptor.Builder>... 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 to#jobs(List.) - 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:
#jobs(java.util.Collection)
-
-