@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. One of either producer timestamp or fragment number is required. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, 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, in milliseconds, expressed in unix time format.
|
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, in milliseconds, expressed in unix time format.
|
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, in milliseconds, expressed in unix time format.
|
public void setProducerTimestamp(Long producerTimestamp)
The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.
producerTimestamp
- The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time
format.public Long getProducerTimestamp()
The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.
public KinesisVideoStreamStartSelector withProducerTimestamp(Long producerTimestamp)
The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.
producerTimestamp
- The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time
format.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.