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
.
HLSFragmentSelectorType
public 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
.
HLSFragmentSelectorType
public 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
.
HLSFragmentSelectorType
public 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
.
HLSFragmentSelectorType
public 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
.
HLSFragmentSelectorType
public 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.