Interface ListHarvestJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListHarvestJobsResponse.Builder,,ListHarvestJobsResponse> MediaPackageV2Response.Builder,SdkBuilder<ListHarvestJobsResponse.Builder,,ListHarvestJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListHarvestJobsResponse
@Mutable
@NotThreadSafe
public static interface ListHarvestJobsResponse.Builder
extends MediaPackageV2Response.Builder, SdkPojo, CopyableBuilder<ListHarvestJobsResponse.Builder,ListHarvestJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<HarvestJob> items) An array of harvest job objects that match the specified criteria.items(Consumer<HarvestJob.Builder>... items) An array of harvest job objects that match the specified criteria.items(HarvestJob... items) An array of harvest job objects that match the specified criteria.A token used for pagination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediapackagev2.model.MediaPackageV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
An array of harvest job objects that match the specified criteria.
- Parameters:
items- An array of harvest job objects that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of harvest job objects that match the specified criteria.
- Parameters:
items- An array of harvest job objects that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of harvest job objects that match the specified criteria.
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 toitems(List<HarvestJob>).- Parameters:
items- 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 used for pagination. Include this value in subsequent requests to retrieve the next set of results. If null, there are no more results to retrieve.
- Parameters:
nextToken- A token used for pagination. Include this value in subsequent requests to retrieve the next set of results. If null, there are no more results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-