@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClipFragmentSelector extends Object implements Serializable, Cloneable, StructuredPojo
Describes the timestamp range and timestamp origin of a range of fragments.
Fragments that have duplicate producer timestamps are deduplicated. This means that if producers are producing a stream of fragments with producer timestamps that are approximately equal to the true clock time, the clip will contain all of the fragments within the requested timestamp range. If some fragments are ingested within the same time range and very different points in time, only the oldest ingested collection of fragments are returned.
Constructor and Description |
---|
ClipFragmentSelector() |
Modifier and Type | Method and Description |
---|---|
ClipFragmentSelector |
clone() |
boolean |
equals(Object obj) |
String |
getFragmentSelectorType()
The origin of the timestamps to use (Server or Producer).
|
ClipTimestampRange |
getTimestampRange()
The range of timestamps to return.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFragmentSelectorType(String fragmentSelectorType)
The origin of the timestamps to use (Server or Producer).
|
void |
setTimestampRange(ClipTimestampRange timestampRange)
The range of timestamps to return.
|
String |
toString()
Returns a string representation of this object.
|
ClipFragmentSelector |
withFragmentSelectorType(ClipFragmentSelectorType fragmentSelectorType)
The origin of the timestamps to use (Server or Producer).
|
ClipFragmentSelector |
withFragmentSelectorType(String fragmentSelectorType)
The origin of the timestamps to use (Server or Producer).
|
ClipFragmentSelector |
withTimestampRange(ClipTimestampRange timestampRange)
The range of timestamps to return.
|
public void setFragmentSelectorType(String fragmentSelectorType)
The origin of the timestamps to use (Server or Producer).
fragmentSelectorType
- The origin of the timestamps to use (Server or Producer).ClipFragmentSelectorType
public String getFragmentSelectorType()
The origin of the timestamps to use (Server or Producer).
ClipFragmentSelectorType
public ClipFragmentSelector withFragmentSelectorType(String fragmentSelectorType)
The origin of the timestamps to use (Server or Producer).
fragmentSelectorType
- The origin of the timestamps to use (Server or Producer).ClipFragmentSelectorType
public ClipFragmentSelector withFragmentSelectorType(ClipFragmentSelectorType fragmentSelectorType)
The origin of the timestamps to use (Server or Producer).
fragmentSelectorType
- The origin of the timestamps to use (Server or Producer).ClipFragmentSelectorType
public void setTimestampRange(ClipTimestampRange timestampRange)
The range of timestamps to return.
timestampRange
- The range of timestamps to return.public ClipTimestampRange getTimestampRange()
The range of timestamps to return.
public ClipFragmentSelector withTimestampRange(ClipTimestampRange timestampRange)
The range of timestamps to return.
timestampRange
- The range of timestamps to return.public String toString()
toString
in class Object
Object.toString()
public ClipFragmentSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.