Interface InputStartingPositionConfiguration.Builder

  • Method Details

    • inputStartingPosition

      InputStartingPositionConfiguration.Builder inputStartingPosition(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputStartingPosition

      InputStartingPositionConfiguration.Builder inputStartingPosition(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: