Interface ListJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListJobsResponse.Builder,
,ListJobsResponse> GlacierResponse.Builder
,SdkBuilder<ListJobsResponse.Builder,
,ListJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJobsResponse
public static interface ListJobsResponse.Builder
extends GlacierResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobList
(Collection<GlacierJobDescription> jobList) A list of job objects.jobList
(Consumer<GlacierJobDescription.Builder>... jobList) A list of job objects.jobList
(GlacierJobDescription... jobList) A list of job objects.An opaque string used for pagination that specifies the job at which the listing of jobs should begin.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.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
-
jobList
A list of job objects. Each job object contains metadata describing the job.
- Parameters:
jobList
- A list of job objects. Each job object contains metadata describing the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobList
A list of job objects. Each job object contains metadata describing the job.
- Parameters:
jobList
- A list of job objects. Each job object contains metadata describing the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobList
A list of job objects. Each job object contains metadata describing the job.
This is a convenience method that creates an instance of theGlacierJobDescription.Builder
avoiding the need to create one manually viaGlacierJobDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobList(List<GlacierJobDescription>)
.- Parameters:
jobList
- a consumer that will call methods onGlacierJobDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
An opaque string used for pagination that specifies the job at which the listing of jobs should begin. You get the
marker
value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of the results started in a previous List Jobs request.- Parameters:
marker
- An opaque string used for pagination that specifies the job at which the listing of jobs should begin. You get themarker
value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of the results started in a previous List Jobs request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-