Interface ListHarvestJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListHarvestJobsResponse.Builder,,ListHarvestJobsResponse> MediaPackageResponse.Builder,SdkBuilder<ListHarvestJobsResponse.Builder,,ListHarvestJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListHarvestJobsResponse
public static interface ListHarvestJobsResponse.Builder
extends MediaPackageResponse.Builder, SdkPojo, CopyableBuilder<ListHarvestJobsResponse.Builder,ListHarvestJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionharvestJobs(Collection<HarvestJob> harvestJobs) A list of HarvestJob records.harvestJobs(Consumer<HarvestJob.Builder>... harvestJobs) A list of HarvestJob records.harvestJobs(HarvestJob... harvestJobs) A list of HarvestJob records.A token that can be used to resume pagination from the end of the collection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediapackage.model.MediaPackageResponse.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
-
harvestJobs
A list of HarvestJob records.- Parameters:
harvestJobs- A list of HarvestJob records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
harvestJobs
A list of HarvestJob records.- Parameters:
harvestJobs- A list of HarvestJob records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
harvestJobs
A list of HarvestJob records. This is a convenience method that creates an instance of theHarvestJob.Builderavoiding the need to create one manually viaHarvestJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toharvestJobs(List<HarvestJob>).- Parameters:
harvestJobs- a consumer that will call methods onHarvestJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that can be used to resume pagination from the end of the collection.- Parameters:
nextToken- A token that can be used to resume pagination from the end of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-