Struct aws_sdk_kinesisanalyticsv2::types::builders::InputStartingPositionConfigurationBuilder
source · #[non_exhaustive]pub struct InputStartingPositionConfigurationBuilder { /* private fields */ }
Expand description
A builder for InputStartingPositionConfiguration
.
Implementations§
source§impl InputStartingPositionConfigurationBuilder
impl InputStartingPositionConfigurationBuilder
sourcepub fn input_starting_position(self, input: InputStartingPosition) -> Self
pub fn input_starting_position(self, input: InputStartingPosition) -> Self
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.
sourcepub fn set_input_starting_position(
self,
input: Option<InputStartingPosition>,
) -> Self
pub fn set_input_starting_position( self, input: Option<InputStartingPosition>, ) -> Self
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.
sourcepub fn get_input_starting_position(&self) -> &Option<InputStartingPosition>
pub fn get_input_starting_position(&self) -> &Option<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.
sourcepub fn build(self) -> InputStartingPositionConfiguration
pub fn build(self) -> InputStartingPositionConfiguration
Consumes the builder and constructs a InputStartingPositionConfiguration
.
Trait Implementations§
source§impl Clone for InputStartingPositionConfigurationBuilder
impl Clone for InputStartingPositionConfigurationBuilder
source§fn clone(&self) -> InputStartingPositionConfigurationBuilder
fn clone(&self) -> InputStartingPositionConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InputStartingPositionConfigurationBuilder
impl Default for InputStartingPositionConfigurationBuilder
source§fn default() -> InputStartingPositionConfigurationBuilder
fn default() -> InputStartingPositionConfigurationBuilder
source§impl PartialEq for InputStartingPositionConfigurationBuilder
impl PartialEq for InputStartingPositionConfigurationBuilder
source§fn eq(&self, other: &InputStartingPositionConfigurationBuilder) -> bool
fn eq(&self, other: &InputStartingPositionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InputStartingPositionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for InputStartingPositionConfigurationBuilder
impl RefUnwindSafe for InputStartingPositionConfigurationBuilder
impl Send for InputStartingPositionConfigurationBuilder
impl Sync for InputStartingPositionConfigurationBuilder
impl Unpin for InputStartingPositionConfigurationBuilder
impl UnwindSafe for InputStartingPositionConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more