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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFragmentsResponse.Builderfragments(Collection<Fragment> fragments)A list of archived Fragment objects from the stream that meet the selector criteria.ListFragmentsResponse.Builderfragments(Consumer<Fragment.Builder>... fragments)A list of archived Fragment objects from the stream that meet the selector criteria.ListFragmentsResponse.Builderfragments(Fragment... fragments)A list of archived Fragment objects from the stream that meet the selector criteria.ListFragmentsResponse.BuildernextToken(String nextToken)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
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.KinesisVideoArchivedMediaResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
fragments
ListFragmentsResponse.Builder fragments(Collection<Fragment> 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
ListFragmentsResponse.Builder fragments(Fragment... 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
ListFragmentsResponse.Builder fragments(Consumer<Fragment.Builder>... 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 to#fragments(List.) - 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:
#fragments(java.util.Collection)
-
nextToken
ListFragmentsResponse.Builder nextToken(String 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.
-
-