@Generated(value="software.amazon.awssdk:codegen") public final class FragmentSelector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FragmentSelector.Builder,FragmentSelector>
Describes the timestamp range and timestamp origin of a range of fragments.
Only fragments with a start timestamp greater than or equal to the given start time and less than or equal to the end time are returned. For example, say a stream contains fragments with the following start timestamps:
00:00:00
00:00:02
00:00:04
00:00:06
A fragment selector range with a start time of 00:00:01 and end time of 00:00:04 would return the fragments with start times of 00:00:02 and 00:00:04.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FragmentSelector.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FragmentSelector.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FragmentSelectorType |
fragmentSelectorType()
The origin of the timestamps to use,
Server or Producer. |
String |
fragmentSelectorTypeAsString()
The origin of the timestamps to use,
Server or Producer. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FragmentSelector.Builder> |
serializableBuilderClass() |
TimestampRange |
timestampRange()
The range of timestamps to return.
|
FragmentSelector.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FragmentSelectorType fragmentSelectorType()
The origin of the timestamps to use, Server or Producer. For more information, see StartSelectorType
in the Amazon Kinesis Video Streams Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
fragmentSelectorType will return FragmentSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from fragmentSelectorTypeAsString().
Server or Producer. For more information,
see
StartSelectorType in the Amazon Kinesis Video Streams Developer Guide.FragmentSelectorTypepublic final String fragmentSelectorTypeAsString()
The origin of the timestamps to use, Server or Producer. For more information, see StartSelectorType
in the Amazon Kinesis Video Streams Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
fragmentSelectorType will return FragmentSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from fragmentSelectorTypeAsString().
Server or Producer. For more information,
see
StartSelectorType in the Amazon Kinesis Video Streams Developer Guide.FragmentSelectorTypepublic final TimestampRange timestampRange()
The range of timestamps to return.
public FragmentSelector.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FragmentSelector.Builder,FragmentSelector>public static FragmentSelector.Builder builder()
public static Class<? extends FragmentSelector.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.