public class HLSFragmentSelector
extends java.lang.Object
implements java.io.Serializable
Contains the range of time stamps for the requested media, and the source of the time stamps.
| Constructor and Description |
|---|
HLSFragmentSelector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFragmentSelectorType()
The source of the time stamps for the requested media.
|
HLSTimestampRange |
getTimestampRange()
The start and end of the time stamp range for the requested media.
|
int |
hashCode() |
void |
setFragmentSelectorType(HLSFragmentSelectorType fragmentSelectorType)
The source of the time stamps for the requested media.
|
void |
setFragmentSelectorType(java.lang.String fragmentSelectorType)
The source of the time stamps for the requested media.
|
void |
setTimestampRange(HLSTimestampRange timestampRange)
The start and end of the time stamp range for the requested media.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HLSFragmentSelector |
withFragmentSelectorType(HLSFragmentSelectorType fragmentSelectorType)
The source of the time stamps for the requested media.
|
HLSFragmentSelector |
withFragmentSelectorType(java.lang.String fragmentSelectorType)
The source of the time stamps for the requested media.
|
HLSFragmentSelector |
withTimestampRange(HLSTimestampRange timestampRange)
The start and end of the time stamp range for the requested media.
|
public java.lang.String getFragmentSelectorType()
The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
HLSFragmentSelectorTypepublic void setFragmentSelectorType(java.lang.String fragmentSelectorType)
The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType - The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
HLSFragmentSelectorTypepublic HLSFragmentSelector withFragmentSelectorType(java.lang.String fragmentSelectorType)
The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType - The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
HLSFragmentSelectorTypepublic void setFragmentSelectorType(HLSFragmentSelectorType fragmentSelectorType)
The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType - The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
HLSFragmentSelectorTypepublic HLSFragmentSelector withFragmentSelectorType(HLSFragmentSelectorType fragmentSelectorType)
The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PRODUCER_TIMESTAMP, SERVER_TIMESTAMP
fragmentSelectorType - The source of the time stamps for the requested media.
The default is PRODUCER_TIMESTAMP.
HLSFragmentSelectorTypepublic HLSTimestampRange getTimestampRange()
The start and end of the time stamp range for the requested media.
This value should not be present if PlaybackType is
LIVE.
The start and end of the time stamp range for the requested media.
This value should not be present if PlaybackType is
LIVE.
public void setTimestampRange(HLSTimestampRange timestampRange)
The start and end of the time stamp range for the requested media.
This value should not be present if PlaybackType is
LIVE.
timestampRange - The start and end of the time stamp range for the requested media.
This value should not be present if PlaybackType
is LIVE.
public HLSFragmentSelector withTimestampRange(HLSTimestampRange timestampRange)
The start and end of the time stamp range for the requested media.
This value should not be present if PlaybackType is
LIVE.
Returns a reference to this object so that method calls can be chained together.
timestampRange - The start and end of the time stamp range for the requested media.
This value should not be present if PlaybackType
is LIVE.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.