@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisVideoStreamStartSelector extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the starting point in a Kinesis stream to start processing. You can use the producer timestamp or the fragment number. For more information, see Fragment.
Constructor and Description |
---|
KinesisVideoStreamStartSelector() |
Modifier and Type | Method and Description |
---|---|
KinesisVideoStreamStartSelector |
clone() |
boolean |
equals(Object obj) |
String |
getFragmentNumber()
The unique identifier of the fragment.
|
Long |
getProducerTimestamp()
The timestamp from the producer corresponding to the fragment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFragmentNumber(String fragmentNumber)
The unique identifier of the fragment.
|
void |
setProducerTimestamp(Long producerTimestamp)
The timestamp from the producer corresponding to the fragment.
|
String |
toString()
Returns a string representation of this object.
|
KinesisVideoStreamStartSelector |
withFragmentNumber(String fragmentNumber)
The unique identifier of the fragment.
|
KinesisVideoStreamStartSelector |
withProducerTimestamp(Long producerTimestamp)
The timestamp from the producer corresponding to the fragment.
|
public void setProducerTimestamp(Long producerTimestamp)
The timestamp from the producer corresponding to the fragment.
producerTimestamp
- The timestamp from the producer corresponding to the fragment.public Long getProducerTimestamp()
The timestamp from the producer corresponding to the fragment.
public KinesisVideoStreamStartSelector withProducerTimestamp(Long producerTimestamp)
The timestamp from the producer corresponding to the fragment.
producerTimestamp
- The timestamp from the producer corresponding to the fragment.public void setFragmentNumber(String fragmentNumber)
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
fragmentNumber
- The unique identifier of the fragment. This value monotonically increases based on the ingestion order.public String getFragmentNumber()
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
public KinesisVideoStreamStartSelector withFragmentNumber(String fragmentNumber)
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
fragmentNumber
- The unique identifier of the fragment. This value monotonically increases based on the ingestion order.public String toString()
toString
in class Object
Object.toString()
public KinesisVideoStreamStartSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.