Class ClipTimestampRange
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.ClipTimestampRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClipTimestampRange.Builder,ClipTimestampRange>
@Generated("software.amazon.awssdk:codegen") public final class ClipTimestampRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClipTimestampRange.Builder,ClipTimestampRange>
The range of timestamps for which to return fragments.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClipTimestampRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClipTimestampRange.Builderbuilder()InstantendTimestamp()The end of the timestamp range for the requested media.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ClipTimestampRange.Builder>serializableBuilderClass()InstantstartTimestamp()The starting timestamp in the range of timestamps for which to return fragments.ClipTimestampRange.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
-
startTimestamp
public final Instant startTimestamp()
The starting timestamp in the range of timestamps for which to return fragments.
Only fragments that start exactly at or after
StartTimestampare included in the session. Fragments that start beforeStartTimestampand continue past it aren't included in the session. IfFragmentSelectorTypeisSERVER_TIMESTAMP, theStartTimestampmust be later than the stream head.- Returns:
- The starting timestamp in the range of timestamps for which to return fragments.
Only fragments that start exactly at or after
StartTimestampare included in the session. Fragments that start beforeStartTimestampand continue past it aren't included in the session. IfFragmentSelectorTypeisSERVER_TIMESTAMP, theStartTimestampmust be later than the stream head.
-
endTimestamp
public final Instant endTimestamp()
The end of the timestamp range for the requested media.
This value must be within 24 hours of the specified
StartTimestamp, and it must be later than theStartTimestampvalue. IfFragmentSelectorTypefor the request isSERVER_TIMESTAMP, this value must be in the past.This value is inclusive. The
EndTimestampis compared to the (starting) timestamp of the fragment. Fragments that start before theEndTimestampvalue and continue past it are included in the session.- Returns:
- The end of the timestamp range for the requested media.
This value must be within 24 hours of the specified
StartTimestamp, and it must be later than theStartTimestampvalue. IfFragmentSelectorTypefor the request isSERVER_TIMESTAMP, this value must be in the past.This value is inclusive. The
EndTimestampis compared to the (starting) timestamp of the fragment. Fragments that start before theEndTimestampvalue and continue past it are included in the session.
-
toBuilder
public ClipTimestampRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClipTimestampRange.Builder,ClipTimestampRange>
-
builder
public static ClipTimestampRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClipTimestampRange.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
-
-