Interface ListJobsByStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobsByStatusResponse.Builder,,ListJobsByStatusResponse> ElasticTranscoderResponse.Builder,SdkBuilder<ListJobsByStatusResponse.Builder,,ListJobsByStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListJobsByStatusResponse
public static interface ListJobsByStatusResponse.Builder
extends ElasticTranscoderResponse.Builder, SdkPojo, CopyableBuilder<ListJobsByStatusResponse.Builder,ListJobsByStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobs(Collection<Job> jobs) An array ofJobobjects that have the specified status.jobs(Consumer<Job.Builder>... jobs) An array ofJobobjects that have the specified status.An array ofJobobjects that have the specified status.nextPageToken(String nextPageToken) A value that you use to access the second and subsequent pages of results, if any.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elastictranscoder.model.ElasticTranscoderResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
jobs
An array of
Jobobjects that have the specified status.- Parameters:
jobs- An array ofJobobjects that have the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
An array of
Jobobjects that have the specified status.- Parameters:
jobs- An array ofJobobjects that have the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
An array of
This is a convenience method that creates an instance of theJobobjects that have the specified status.Job.Builderavoiding the need to create one manually viaJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobs(List<Job>).- Parameters:
jobs- a consumer that will call methods onJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of
NextPageTokenisnull.- Parameters:
nextPageToken- A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value ofNextPageTokenisnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-