Interface StartSelector.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StartSelector.Builder,StartSelector>,SdkBuilder<StartSelector.Builder,StartSelector>,SdkPojo
- Enclosing class:
- StartSelector
public static interface StartSelector.Builder extends SdkPojo, CopyableBuilder<StartSelector.Builder,StartSelector>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartSelector.BuilderafterFragmentNumber(String afterFragmentNumber)Specifies the fragment number from where you want theGetMediaAPI to start returning the fragments.StartSelector.BuildercontinuationToken(String continuationToken)Continuation token that Kinesis Video Streams returned in the previousGetMediaresponse.StartSelector.BuilderstartSelectorType(String startSelectorType)Identifies the fragment on the Kinesis video stream where you want to start getting the data from.StartSelector.BuilderstartSelectorType(StartSelectorType startSelectorType)Identifies the fragment on the Kinesis video stream where you want to start getting the data from.StartSelector.BuilderstartTimestamp(Instant startTimestamp)A timestamp value.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
startSelectorType
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 after a specific fragment. You must also specify the
AfterFragmentNumberparameter. -
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified producer or server timestamp. You specify the timestamp 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 thestartSelector.- Parameters:
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 after a specific fragment. You must also specify the
AfterFragmentNumberparameter. -
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified producer or server timestamp. You specify the timestamp 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 thestartSelector.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StartSelectorType,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 after a specific fragment. You must also specify the
AfterFragmentNumberparameter. -
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified producer or server timestamp. You specify the timestamp 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 thestartSelector.- Parameters:
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 after a specific fragment. You must also specify the
AfterFragmentNumberparameter. -
PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified producer or server timestamp. You specify the timestamp 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 thestartSelector.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StartSelectorType,StartSelectorType
-
-
afterFragmentNumber
StartSelector.Builder afterFragmentNumber(String afterFragmentNumber)
Specifies the fragment number from where you want the
GetMediaAPI to start returning the fragments.- Parameters:
afterFragmentNumber- Specifies the fragment number from where you want theGetMediaAPI to start returning the fragments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
StartSelector.Builder startTimestamp(Instant startTimestamp)
A timestamp value. This value is required if you choose the PRODUCER_TIMESTAMP or the SERVER_TIMESTAMP as the
startSelectorType. TheGetMediaAPI then starts with the chunk containing the fragment that has the specified timestamp.- Parameters:
startTimestamp- A timestamp value. This value is required if you choose the PRODUCER_TIMESTAMP or the SERVER_TIMESTAMP as thestartSelectorType. TheGetMediaAPI then starts with the chunk containing the fragment that has the specified timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continuationToken
StartSelector.Builder continuationToken(String continuationToken)
Continuation token that Kinesis Video Streams returned in the previous
GetMediaresponse. TheGetMediaAPI then starts with the chunk identified by the continuation token.- Parameters:
continuationToken- Continuation token that Kinesis Video Streams returned in the previousGetMediaresponse. TheGetMediaAPI then starts with the chunk identified by the continuation token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-