public class InputStartingPositionConfiguration extends Object implements Serializable, Cloneable
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 |
setInputStartingPosition(InputStartingPosition inputStartingPosition)
The starting position on the stream.
|
void |
setInputStartingPosition(String inputStartingPosition)
The starting position on the stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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.
LATEST
- Start reading just after the most recent record in
the stream.
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 Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the
application last stopped reading.
inputStartingPosition
- The starting position on the stream.
LATEST
- Start reading just after the most recent
record in the stream.
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
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.
LATEST
- Start reading just after the most recent record in
the stream.
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 Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the
application last stopped reading.
LATEST
- Start reading just after the most recent
record in the stream.
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
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.
LATEST
- Start reading just after the most recent record in
the stream.
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 Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the
application last stopped reading.
inputStartingPosition
- The starting position on the stream.
LATEST
- Start reading just after the most recent
record in the stream.
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
Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the
application last stopped reading.
InputStartingPosition
public void setInputStartingPosition(InputStartingPosition inputStartingPosition)
The starting position on the stream.
LATEST
- Start reading just after the most recent record in
the stream.
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 Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the
application last stopped reading.
inputStartingPosition
- The starting position on the stream.
LATEST
- Start reading just after the most recent
record in the stream.
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
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.
LATEST
- Start reading just after the most recent record in
the stream.
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 Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the
application last stopped reading.
inputStartingPosition
- The starting position on the stream.
LATEST
- Start reading just after the most recent
record in the stream.
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
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.