#[non_exhaustive]pub struct SequenceNumberRangeBuilder { /* private fields */ }
Expand description
A builder for SequenceNumberRange
.
Implementations§
source§impl SequenceNumberRangeBuilder
impl SequenceNumberRangeBuilder
sourcepub fn starting_sequence_number(self, input: impl Into<String>) -> Self
pub fn starting_sequence_number(self, input: impl Into<String>) -> Self
The first sequence number for the stream records contained within a shard. String contains numeric characters only.
sourcepub fn set_starting_sequence_number(self, input: Option<String>) -> Self
pub fn set_starting_sequence_number(self, input: Option<String>) -> Self
The first sequence number for the stream records contained within a shard. String contains numeric characters only.
sourcepub fn get_starting_sequence_number(&self) -> &Option<String>
pub fn get_starting_sequence_number(&self) -> &Option<String>
The first sequence number for the stream records contained within a shard. String contains numeric characters only.
sourcepub fn ending_sequence_number(self, input: impl Into<String>) -> Self
pub fn ending_sequence_number(self, input: impl Into<String>) -> Self
The last sequence number for the stream records contained within a shard. String contains numeric characters only.
sourcepub fn set_ending_sequence_number(self, input: Option<String>) -> Self
pub fn set_ending_sequence_number(self, input: Option<String>) -> Self
The last sequence number for the stream records contained within a shard. String contains numeric characters only.
sourcepub fn get_ending_sequence_number(&self) -> &Option<String>
pub fn get_ending_sequence_number(&self) -> &Option<String>
The last sequence number for the stream records contained within a shard. String contains numeric characters only.
sourcepub fn build(self) -> SequenceNumberRange
pub fn build(self) -> SequenceNumberRange
Consumes the builder and constructs a SequenceNumberRange
.
Trait Implementations§
source§impl Clone for SequenceNumberRangeBuilder
impl Clone for SequenceNumberRangeBuilder
source§fn clone(&self) -> SequenceNumberRangeBuilder
fn clone(&self) -> SequenceNumberRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SequenceNumberRangeBuilder
impl Debug for SequenceNumberRangeBuilder
source§impl Default for SequenceNumberRangeBuilder
impl Default for SequenceNumberRangeBuilder
source§fn default() -> SequenceNumberRangeBuilder
fn default() -> SequenceNumberRangeBuilder
impl StructuralPartialEq for SequenceNumberRangeBuilder
Auto Trait Implementations§
impl Freeze for SequenceNumberRangeBuilder
impl RefUnwindSafe for SequenceNumberRangeBuilder
impl Send for SequenceNumberRangeBuilder
impl Sync for SequenceNumberRangeBuilder
impl Unpin for SequenceNumberRangeBuilder
impl UnwindSafe for SequenceNumberRangeBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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