Class ClipFragmentSelector
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.ClipFragmentSelector
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClipFragmentSelector.Builder,ClipFragmentSelector>
@Generated("software.amazon.awssdk:codegen") public final class ClipFragmentSelector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClipFragmentSelector.Builder,ClipFragmentSelector>
Describes the timestamp range and timestamp origin of a range of fragments.
Fragments that have duplicate producer timestamps are deduplicated. This means that if producers are producing a stream of fragments with producer timestamps that are approximately equal to the true clock time, the clip will contain all of the fragments within the requested timestamp range. If some fragments are ingested within the same time range and very different points in time, only the oldest ingested collection of fragments are returned.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClipFragmentSelector.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClipFragmentSelector.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ClipFragmentSelectorTypefragmentSelectorType()The origin of the timestamps to use (Server or Producer).StringfragmentSelectorTypeAsString()The origin of the timestamps to use (Server or Producer).<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ClipFragmentSelector.Builder>serializableBuilderClass()ClipTimestampRangetimestampRange()The range of timestamps to return.ClipFragmentSelector.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 ClipFragmentSelectorType fragmentSelectorType()
The origin of the timestamps to use (Server or Producer).
If the service returns an enum value that is not available in the current SDK version,
fragmentSelectorTypewill returnClipFragmentSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfragmentSelectorTypeAsString().- Returns:
- The origin of the timestamps to use (Server or Producer).
- See Also:
ClipFragmentSelectorType
-
fragmentSelectorTypeAsString
public final String fragmentSelectorTypeAsString()
The origin of the timestamps to use (Server or Producer).
If the service returns an enum value that is not available in the current SDK version,
fragmentSelectorTypewill returnClipFragmentSelectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfragmentSelectorTypeAsString().- Returns:
- The origin of the timestamps to use (Server or Producer).
- See Also:
ClipFragmentSelectorType
-
timestampRange
public final ClipTimestampRange timestampRange()
The range of timestamps to return.
- Returns:
- The range of timestamps to return.
-
toBuilder
public ClipFragmentSelector.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClipFragmentSelector.Builder,ClipFragmentSelector>
-
builder
public static ClipFragmentSelector.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClipFragmentSelector.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-