Class FragmentSelector
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmediapipelines.model.FragmentSelector
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FragmentSelector.Builder,FragmentSelector>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFragmentSelector.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FragmentSelector.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FragmentSelectorTypefragmentSelectorType()The origin of the timestamps to use,ServerorProducer.StringfragmentSelectorTypeAsString()The origin of the timestamps to use,ServerorProducer.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FragmentSelector.Builder>serializableBuilderClass()TimestampRangetimestampRange()The range of timestamps to return.FragmentSelector.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fragmentSelectorType
public final FragmentSelectorType fragmentSelectorType()
The origin of the timestamps to use,
ServerorProducer. 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,
fragmentSelectorTypewill returnFragmentSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfragmentSelectorTypeAsString().- Returns:
- The origin of the timestamps to use,
ServerorProducer. For more information, see StartSelectorType in the Amazon Kinesis Video Streams Developer Guide. - See Also:
FragmentSelectorType
-
fragmentSelectorTypeAsString
public final String fragmentSelectorTypeAsString()
The origin of the timestamps to use,
ServerorProducer. 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,
fragmentSelectorTypewill returnFragmentSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfragmentSelectorTypeAsString().- Returns:
- The origin of the timestamps to use,
ServerorProducer. For more information, see StartSelectorType in the Amazon Kinesis Video Streams Developer Guide. - See Also:
FragmentSelectorType
-
timestampRange
public final TimestampRange timestampRange()
The range of timestamps to return.
- Returns:
- The range of timestamps to return.
-
toBuilder
public FragmentSelector.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FragmentSelector.Builder,FragmentSelector>
-
builder
public static FragmentSelector.Builder builder()
-
serializableBuilderClass
public static Class<? extends FragmentSelector.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-