Interface ListJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>,SdkBuilder<ListJobsResponse.Builder,ListJobsResponse>,SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
- ListJobsResponse
public static interface ListJobsResponse.Builder extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsResponse.BuilderjobListEntries(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.ListJobsResponse.BuilderjobListEntries(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.ListJobsResponse.BuilderjobListEntries(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.ListJobsResponse.BuildernextToken(String nextToken)HTTP requests are stateless.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
jobListEntries
ListJobsResponse.Builder jobListEntries(Collection<JobListEntry> 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
ListJobsResponse.Builder jobListEntries(JobListEntry... 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
ListJobsResponse.Builder jobListEntries(Consumer<JobListEntry.Builder>... 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 to#jobListEntries(List.) - 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:
#jobListEntries(java.util.Collection)
-
nextToken
ListJobsResponse.Builder nextToken(String 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.
-
-