public static interface StartSelector.Builder extends SdkPojo, CopyableBuilder<StartSelector.Builder,StartSelector>
Modifier and Type | Method and Description |
---|---|
StartSelector.Builder |
afterFragmentNumber(String afterFragmentNumber)
Specifies the fragment number from where you want the
GetMedia API to start returning the
fragments. |
StartSelector.Builder |
continuationToken(String continuationToken)
Continuation token that Kinesis Video Streams returned in the previous
GetMedia response. |
StartSelector.Builder |
startSelectorType(StartSelectorType startSelectorType)
Identifies the fragment on the Kinesis video stream where you want to start getting the data from.
|
StartSelector.Builder |
startSelectorType(String startSelectorType)
Identifies the fragment on the Kinesis video stream where you want to start getting the data from.
|
StartSelector.Builder |
startTimestamp(Instant startTimestamp)
A time stamp value.
|
copy
applyMutation, build
StartSelector.Builder startSelectorType(String startSelectorType)
Identifies the fragment on the Kinesis video stream where you want to start getting the data from.
NOW - Start with the latest chunk on the stream.
EARLIEST - Start with earliest available chunk on the stream.
FRAGMENT_NUMBER - Start with the chunk containing the specific fragment. You must also specify the
StartFragmentNumber
.
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified
producer or server time stamp. You specify the time stamp by adding StartTimestamp
.
CONTINUATION_TOKEN - Read using the specified continuation token.
If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as the startSelectorType
, you don't
provide any additional information in the startSelector
.
startSelectorType
- Identifies the fragment on the Kinesis video stream where you want to start getting the data from.
NOW - Start with the latest chunk on the stream.
EARLIEST - Start with earliest available chunk on the stream.
FRAGMENT_NUMBER - Start with the chunk containing the specific fragment. You must also specify the
StartFragmentNumber
.
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified
producer or server time stamp. You specify the time stamp by adding StartTimestamp
.
CONTINUATION_TOKEN - Read using the specified continuation token.
If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as the startSelectorType
, you
don't provide any additional information in the startSelector
.
StartSelectorType
,
StartSelectorType
StartSelector.Builder startSelectorType(StartSelectorType startSelectorType)
Identifies the fragment on the Kinesis video stream where you want to start getting the data from.
NOW - Start with the latest chunk on the stream.
EARLIEST - Start with earliest available chunk on the stream.
FRAGMENT_NUMBER - Start with the chunk containing the specific fragment. You must also specify the
StartFragmentNumber
.
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified
producer or server time stamp. You specify the time stamp by adding StartTimestamp
.
CONTINUATION_TOKEN - Read using the specified continuation token.
If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as the startSelectorType
, you don't
provide any additional information in the startSelector
.
startSelectorType
- Identifies the fragment on the Kinesis video stream where you want to start getting the data from.
NOW - Start with the latest chunk on the stream.
EARLIEST - Start with earliest available chunk on the stream.
FRAGMENT_NUMBER - Start with the chunk containing the specific fragment. You must also specify the
StartFragmentNumber
.
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified
producer or server time stamp. You specify the time stamp by adding StartTimestamp
.
CONTINUATION_TOKEN - Read using the specified continuation token.
If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as the startSelectorType
, you
don't provide any additional information in the startSelector
.
StartSelectorType
,
StartSelectorType
StartSelector.Builder afterFragmentNumber(String afterFragmentNumber)
Specifies the fragment number from where you want the GetMedia
API to start returning the
fragments.
afterFragmentNumber
- Specifies the fragment number from where you want the GetMedia
API to start returning the
fragments.StartSelector.Builder startTimestamp(Instant startTimestamp)
A time stamp value. This value is required if you choose the PRODUCER_TIMESTAMP or the SERVER_TIMESTAMP as
the startSelectorType
. The GetMedia
API then starts with the chunk containing the
fragment that has the specified time stamp.
startTimestamp
- A time stamp value. This value is required if you choose the PRODUCER_TIMESTAMP or the
SERVER_TIMESTAMP as the startSelectorType
. The GetMedia
API then starts with
the chunk containing the fragment that has the specified time stamp.StartSelector.Builder continuationToken(String continuationToken)
Continuation token that Kinesis Video Streams returned in the previous GetMedia
response. The
GetMedia
API then starts with the chunk identified by the continuation token.
continuationToken
- Continuation token that Kinesis Video Streams returned in the previous GetMedia
response.
The GetMedia
API then starts with the chunk identified by the continuation token.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.