Interface ListClusterJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClusterJobsResponse.Builder,ListClusterJobsResponse>,SdkBuilder<ListClusterJobsResponse.Builder,ListClusterJobsResponse>,SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
- ListClusterJobsResponse
public static interface ListClusterJobsResponse.Builder extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListClusterJobsResponse.Builder,ListClusterJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClusterJobsResponse.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.ListClusterJobsResponse.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.ListClusterJobsResponse.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.ListClusterJobsResponse.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, sdkFieldNameToField, 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
ListClusterJobsResponse.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
ListClusterJobsResponse.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
ListClusterJobsResponse.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
ListClusterJobsResponse.Builder nextToken(String nextToken)
HTTP requests are stateless. If you use the automatically generated
NextTokenvalue in your nextListClusterJobsResultcall, your list of returned jobs will start from this point in the array.- Parameters:
nextToken- HTTP requests are stateless. If you use the automatically generatedNextTokenvalue in your nextListClusterJobsResultcall, your list of returned jobs will start from this point in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-