Class DASHTimestampRange
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.DASHTimestampRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DASHTimestampRange.Builder,DASHTimestampRange>
@Generated("software.amazon.awssdk:codegen") public final class DASHTimestampRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DASHTimestampRange.Builder,DASHTimestampRange>
The start and end of the timestamp range for the requested media.
This value should not be present if
PlaybackTypeisLIVE.The values in
DASHimestampRangeare inclusive. Fragments that start exactly at or after the start time are included in the session. Fragments that start before the start time and continue past it are not included in the session.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDASHTimestampRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DASHTimestampRange.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 DASHTimestampRange.Builder>serializableBuilderClass()InstantstartTimestamp()The start of the timestamp range for the requested media.DASHTimestampRange.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 start of the timestamp range for the requested media.
If the
DASHTimestampRangevalue is specified, theStartTimestampvalue is required.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 start of the timestamp range for the requested media.
If the
DASHTimestampRangevalue is specified, theStartTimestampvalue is required.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.If
FragmentSelectorTypefor the request isSERVER_TIMESTAMP, this value must be in the past.The
EndTimestampvalue is required forON_DEMANDmode, but optional forLIVE_REPLAYmode. If theEndTimestampis not set forLIVE_REPLAYmode then the session will continue to include newly ingested fragments until the session expires.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.If
FragmentSelectorTypefor the request isSERVER_TIMESTAMP, this value must be in the past.The
EndTimestampvalue is required forON_DEMANDmode, but optional forLIVE_REPLAYmode. If theEndTimestampis not set forLIVE_REPLAYmode then the session will continue to include newly ingested fragments until the session expires.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 DASHTimestampRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DASHTimestampRange.Builder,DASHTimestampRange>
-
builder
public static DASHTimestampRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends DASHTimestampRange.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
-
-