Struct aws_sdk_kinesis::model::sequence_number_range::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SequenceNumberRange
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn starting_sequence_number(self, input: impl Into<String>) -> Self
pub fn starting_sequence_number(self, input: impl Into<String>) -> Self
The starting sequence number for the range.
sourcepub fn set_starting_sequence_number(self, input: Option<String>) -> Self
pub fn set_starting_sequence_number(self, input: Option<String>) -> Self
The starting sequence number for the range.
sourcepub fn ending_sequence_number(self, input: impl Into<String>) -> Self
pub fn ending_sequence_number(self, input: impl Into<String>) -> Self
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null
.
sourcepub fn set_ending_sequence_number(self, input: Option<String>) -> Self
pub fn set_ending_sequence_number(self, input: Option<String>) -> Self
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null
.
sourcepub fn build(self) -> SequenceNumberRange
pub fn build(self) -> SequenceNumberRange
Consumes the builder and constructs a SequenceNumberRange
.