Interface FragmentSelector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FragmentSelector.Builder,
,FragmentSelector> SdkBuilder<FragmentSelector.Builder,
,FragmentSelector> SdkPojo
- Enclosing class:
FragmentSelector
@Mutable
@NotThreadSafe
public static interface FragmentSelector.Builder
extends SdkPojo, CopyableBuilder<FragmentSelector.Builder,FragmentSelector>
-
Method Summary
Modifier and TypeMethodDescriptionfragmentSelectorType
(String fragmentSelectorType) The origin of the timestamps to use,Server
orProducer
.fragmentSelectorType
(FragmentSelectorType fragmentSelectorType) The origin of the timestamps to use,Server
orProducer
.default FragmentSelector.Builder
timestampRange
(Consumer<TimestampRange.Builder> timestampRange) The range of timestamps to return.timestampRange
(TimestampRange timestampRange) The range of timestamps to return.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, sdkFieldNameToField, sdkFields
-
Method Details
-
fragmentSelectorType
The origin of the timestamps to use,
Server
orProducer
. For more information, see StartSelectorType in the Amazon Kinesis Video Streams Developer Guide.- Parameters:
fragmentSelectorType
- The origin of the timestamps to use,Server
orProducer
. For more information, see StartSelectorType in the Amazon Kinesis Video Streams Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fragmentSelectorType
The origin of the timestamps to use,
Server
orProducer
. For more information, see StartSelectorType in the Amazon Kinesis Video Streams Developer Guide.- Parameters:
fragmentSelectorType
- The origin of the timestamps to use,Server
orProducer
. For more information, see StartSelectorType in the Amazon Kinesis Video Streams Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestampRange
The range of timestamps to return.
- Parameters:
timestampRange
- The range of timestamps to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampRange
The range of timestamps to return.
This is a convenience method that creates an instance of theTimestampRange.Builder
avoiding the need to create one manually viaTimestampRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestampRange(TimestampRange)
.- Parameters:
timestampRange
- a consumer that will call methods onTimestampRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-