@Generated(value="software.amazon.awssdk:codegen") public final class HLSTimestampRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HLSTimestampRange.Builder,HLSTimestampRange>
The start and end of the time stamp range for the requested media.
This value should not be present if PlaybackType is LIVE.
The values in the HLSTimestampRange are inclusive. Fragments that begin before the start time but
continue past it, or fragments that begin before the end time but continue past it, are included in the session.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HLSTimestampRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HLSTimestampRange.Builder |
builder() |
Instant |
endTimestamp()
The end of the time stamp range for the requested media.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HLSTimestampRange.Builder> |
serializableBuilderClass() |
Instant |
startTimestamp()
The start of the time stamp range for the requested media.
|
HLSTimestampRange.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Instant startTimestamp()
The start of the time stamp range for the requested media.
If the HLSTimestampRange value is specified, the StartTimestamp value is required.
This value is inclusive. Fragments that start before the StartTimestamp and continue past it are
included in the session. If FragmentSelectorType is SERVER_TIMESTAMP, the
StartTimestamp must be later than the stream head.
If the HLSTimestampRange value is specified, the StartTimestamp value is
required.
This value is inclusive. Fragments that start before the StartTimestamp and continue past it
are included in the session. If FragmentSelectorType is SERVER_TIMESTAMP, the
StartTimestamp must be later than the stream head.
public Instant endTimestamp()
The end of the time stamp range for the requested media. This value must be within 3 hours of the specified
StartTimestamp, and it must be later than the StartTimestamp value.
If FragmentSelectorType for the request is SERVER_TIMESTAMP, this value must be in the
past.
If the HLSTimestampRange value is specified, the EndTimestamp value is required.
This value is inclusive. The EndTimestamp is compared to the (starting) time stamp of the fragment.
Fragments that start before the EndTimestamp value and continue past it are included in the session.
StartTimestamp, and it must be later than the StartTimestamp
value.
If FragmentSelectorType for the request is SERVER_TIMESTAMP, this value must be
in the past.
If the HLSTimestampRange value is specified, the EndTimestamp value is
required.
This value is inclusive. The EndTimestamp is compared to the (starting) time stamp of the
fragment. Fragments that start before the EndTimestamp value and continue past it are
included in the session.
public HLSTimestampRange.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<HLSTimestampRange.Builder,HLSTimestampRange>public static HLSTimestampRange.Builder builder()
public static Class<? extends HLSTimestampRange.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.