@Generated(value="software.amazon.awssdk:codegen") public class InputStartingPositionConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<InputStartingPositionConfiguration.Builder,InputStartingPositionConfiguration>
Describes the point at which the application reads from the streaming source.
Modifier and Type | Class and Description |
---|---|
static interface |
InputStartingPositionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static InputStartingPositionConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InputStartingPosition |
inputStartingPosition()
The starting position on the stream.
|
String |
inputStartingPositionString()
The starting position on the stream.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends InputStartingPositionConfiguration.Builder> |
serializableBuilderClass() |
InputStartingPositionConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public InputStartingPosition inputStartingPosition()
The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, 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 Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
If the service returns an enum value that is not available in the current SDK version,
inputStartingPosition
will return InputStartingPosition.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from inputStartingPositionString()
.
NOW
- Start reading just after the most recent record in the stream, 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 Firehose delivery
stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
InputStartingPosition
public String inputStartingPositionString()
The starting position on the stream.
NOW
- Start reading just after the most recent record in the stream, 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 Firehose delivery stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
If the service returns an enum value that is not available in the current SDK version,
inputStartingPosition
will return InputStartingPosition.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from inputStartingPositionString()
.
NOW
- Start reading just after the most recent record in the stream, 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 Firehose delivery
stream.
LAST_STOPPED_POINT
- Resume reading from where the application last stopped reading.
InputStartingPosition
public InputStartingPositionConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InputStartingPositionConfiguration.Builder,InputStartingPositionConfiguration>
public static InputStartingPositionConfiguration.Builder builder()
public static Class<? extends InputStartingPositionConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.