public static interface ListFragmentsRequest.Builder extends KinesisVideoArchivedMediaRequest.Builder, SdkPojo, CopyableBuilder<ListFragmentsRequest.Builder,ListFragmentsRequest>
Modifier and Type | Method and Description |
---|---|
default ListFragmentsRequest.Builder |
fragmentSelector(Consumer<FragmentSelector.Builder> fragmentSelector)
Describes the time stamp range and time stamp origin for the range of fragments to return.
|
ListFragmentsRequest.Builder |
fragmentSelector(FragmentSelector fragmentSelector)
Describes the time stamp range and time stamp origin for the range of fragments to return.
|
ListFragmentsRequest.Builder |
maxResults(Long maxResults)
The total number of fragments to return.
|
ListFragmentsRequest.Builder |
nextToken(String nextToken)
A token to specify where to start paginating.
|
ListFragmentsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListFragmentsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ListFragmentsRequest.Builder |
streamName(String streamName)
The name of the stream from which to retrieve a fragment list.
|
build
overrideConfiguration
copy
applyMutation, build
ListFragmentsRequest.Builder streamName(String streamName)
The name of the stream from which to retrieve a fragment list.
streamName
- The name of the stream from which to retrieve a fragment list.ListFragmentsRequest.Builder maxResults(Long maxResults)
The total number of fragments to return. If the total number of fragments available is more than the value
specified in max-results
, then a ListFragmentsOutput$NextToken is provided in the output
that you can use to resume pagination.
maxResults
- The total number of fragments to return. If the total number of fragments available is more than the
value specified in max-results
, then a ListFragmentsOutput$NextToken is provided
in the output that you can use to resume pagination.ListFragmentsRequest.Builder nextToken(String nextToken)
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken from a
previously truncated response.ListFragmentsRequest.Builder fragmentSelector(FragmentSelector fragmentSelector)
Describes the time stamp range and time stamp origin for the range of fragments to return.
fragmentSelector
- Describes the time stamp range and time stamp origin for the range of fragments to return.default ListFragmentsRequest.Builder fragmentSelector(Consumer<FragmentSelector.Builder> fragmentSelector)
Describes the time stamp range and time stamp origin for the range of fragments to return.
This is a convenience that creates an instance of theFragmentSelector.Builder
avoiding the need to
create one manually via FragmentSelector.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to fragmentSelector(FragmentSelector)
.fragmentSelector
- a consumer that will call methods on FragmentSelector.Builder
fragmentSelector(FragmentSelector)
ListFragmentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListFragmentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.