@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputStartingPositionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the point at which the application reads from the streaming source.
Constructor and Description |
---|
InputStartingPositionConfiguration() |
Modifier and Type | Method and Description |
---|---|
InputStartingPositionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getInputStartingPosition()
The starting position on the stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputStartingPosition(String inputStartingPosition)
The starting position on the stream.
|
String |
toString()
Returns a string representation of this object.
|
InputStartingPositionConfiguration |
withInputStartingPosition(InputStartingPosition inputStartingPosition)
The starting position on the stream.
|
InputStartingPositionConfiguration |
withInputStartingPosition(String inputStartingPosition)
The starting position on the stream.
|
public void setInputStartingPosition(String inputStartingPosition)
The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, and start at the request
timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest record
available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
inputStartingPosition
- The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, and start at the request
timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest
record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery
stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
InputStartingPosition
public String getInputStartingPosition()
The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, and start at the request
timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest record
available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
NOW
- Start reading just after the most recent record in the stream, and start at the
request timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest
record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery
stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
InputStartingPosition
public InputStartingPositionConfiguration withInputStartingPosition(String inputStartingPosition)
The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, and start at the request
timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest record
available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
inputStartingPosition
- The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, and start at the request
timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest
record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery
stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
InputStartingPosition
public InputStartingPositionConfiguration withInputStartingPosition(InputStartingPosition inputStartingPosition)
The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, and start at the request
timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest record
available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
inputStartingPosition
- The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, and start at the request
timestamp that the customer issued.
TRIM_HORIZON
- Start reading at the last untrimmed record in the stream, which is the oldest
record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery
stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
InputStartingPosition
public String toString()
toString
in class Object
Object.toString()
public InputStartingPositionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.