Interface ListFragmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFragmentsResponse.Builder,,ListFragmentsResponse> KinesisVideoArchivedMediaResponse.Builder,SdkBuilder<ListFragmentsResponse.Builder,,ListFragmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFragmentsResponse
public static interface ListFragmentsResponse.Builder
extends KinesisVideoArchivedMediaResponse.Builder, SdkPojo, CopyableBuilder<ListFragmentsResponse.Builder,ListFragmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfragments(Collection<Fragment> fragments) A list of archived Fragment objects from the stream that meet the selector criteria.fragments(Consumer<Fragment.Builder>... fragments) A list of archived Fragment objects from the stream that meet the selector criteria.A list of archived Fragment objects from the stream that meet the selector criteria.If the returned list is truncated, the operation returns this token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.KinesisVideoArchivedMediaResponse.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
-
fragments
A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.
- Parameters:
fragments- A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragments
A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.
- Parameters:
fragments- A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragments
A list of archived Fragment objects from the stream that meet the selector criteria. Results are in no specific order, even across pages.
This is a convenience method that creates an instance of theFragment.Builderavoiding the need to create one manually viaFragment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofragments(List<Fragment>).- Parameters:
fragments- a consumer that will call methods onFragment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the returned list is truncated, the operation returns this token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- If the returned list is truncated, the operation returns this token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-