Class InputStartingPositionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisanalytics.model.InputStartingPositionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InputStartingPositionConfiguration.Builder,InputStartingPositionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class InputStartingPositionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InputStartingPositionConfiguration.Builder,InputStartingPositionConfiguration>
Describes the point at which the application reads from the streaming source.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInputStartingPositionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputStartingPositionConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InputStartingPositioninputStartingPosition()The starting position on the stream.StringinputStartingPositionAsString()The starting position on the stream.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InputStartingPositionConfiguration.Builder>serializableBuilderClass()InputStartingPositionConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inputStartingPosition
public final InputStartingPosition inputStartingPosition()
The starting position on the stream.
-
NOW- Start reading just after the most recent record in the stream, start at the request time stamp 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,
inputStartingPositionwill returnInputStartingPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominputStartingPositionAsString().- Returns:
- The starting position on the stream.
-
NOW- Start reading just after the most recent record in the stream, start at the request time stamp 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.
-
- See Also:
InputStartingPosition
-
-
inputStartingPositionAsString
public final String inputStartingPositionAsString()
The starting position on the stream.
-
NOW- Start reading just after the most recent record in the stream, start at the request time stamp 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,
inputStartingPositionwill returnInputStartingPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominputStartingPositionAsString().- Returns:
- The starting position on the stream.
-
NOW- Start reading just after the most recent record in the stream, start at the request time stamp 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.
-
- See Also:
InputStartingPosition
-
-
toBuilder
public InputStartingPositionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InputStartingPositionConfiguration.Builder,InputStartingPositionConfiguration>
-
builder
public static InputStartingPositionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends InputStartingPositionConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-