Interface ListJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobsResponse.Builder,,ListJobsResponse> SdkBuilder<ListJobsResponse.Builder,,ListJobsResponse> SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
ListJobsResponse
-
Method Summary
Modifier and TypeMethodDescriptionjobListEntries(Collection<JobListEntry> jobListEntries) EachJobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.jobListEntries(Consumer<JobListEntry.Builder>... jobListEntries) EachJobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.jobListEntries(JobListEntry... jobListEntries) EachJobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.HTTP requests are stateless.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
jobListEntries
Each
JobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.- Parameters:
jobListEntries- EachJobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobListEntries
Each
JobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.- Parameters:
jobListEntries- EachJobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobListEntries
Each
This is a convenience method that creates an instance of theJobListEntryobject contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.JobListEntry.Builderavoiding the need to create one manually viaJobListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobListEntries(List<JobListEntry>).- Parameters:
jobListEntries- a consumer that will call methods onJobListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
HTTP requests are stateless. If you use this automatically generated
NextTokenvalue in your nextListJobscall, your returnedJobListEntryobjects will start from this point in the array.- Parameters:
nextToken- HTTP requests are stateless. If you use this automatically generatedNextTokenvalue in your nextListJobscall, your returnedJobListEntryobjects will start from this point in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-