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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsResponse.BuilderjobList(Collection<GlacierJobDescription> jobList)A list of job objects.ListJobsResponse.BuilderjobList(Consumer<GlacierJobDescription.Builder>... jobList)A list of job objects.ListJobsResponse.BuilderjobList(GlacierJobDescription... jobList)A list of job objects.ListJobsResponse.Buildermarker(String marker)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobList
ListJobsResponse.Builder jobList(Collection<GlacierJobDescription> 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
ListJobsResponse.Builder jobList(GlacierJobDescription... 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
ListJobsResponse.Builder jobList(Consumer<GlacierJobDescription.Builder>... 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.Builderavoiding the need to create one manually viaGlacierJobDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#jobList(List.) - 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:
#jobList(java.util.Collection)
-
marker
ListJobsResponse.Builder marker(String marker)
An opaque string used for pagination that specifies the job at which the listing of jobs should begin. You get the
markervalue 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 themarkervalue 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.
-
-