Struct aws_sdk_dynamodbstreams::types::builders::ShardBuilder
source · #[non_exhaustive]pub struct ShardBuilder { /* private fields */ }
Expand description
A builder for Shard
.
Implementations§
source§impl ShardBuilder
impl ShardBuilder
sourcepub fn shard_id(self, input: impl Into<String>) -> Self
pub fn shard_id(self, input: impl Into<String>) -> Self
The system-generated identifier for this shard.
sourcepub fn set_shard_id(self, input: Option<String>) -> Self
pub fn set_shard_id(self, input: Option<String>) -> Self
The system-generated identifier for this shard.
sourcepub fn get_shard_id(&self) -> &Option<String>
pub fn get_shard_id(&self) -> &Option<String>
The system-generated identifier for this shard.
sourcepub fn sequence_number_range(self, input: SequenceNumberRange) -> Self
pub fn sequence_number_range(self, input: SequenceNumberRange) -> Self
The range of possible sequence numbers for the shard.
sourcepub fn set_sequence_number_range(
self,
input: Option<SequenceNumberRange>
) -> Self
pub fn set_sequence_number_range( self, input: Option<SequenceNumberRange> ) -> Self
The range of possible sequence numbers for the shard.
sourcepub fn get_sequence_number_range(&self) -> &Option<SequenceNumberRange>
pub fn get_sequence_number_range(&self) -> &Option<SequenceNumberRange>
The range of possible sequence numbers for the shard.
sourcepub fn parent_shard_id(self, input: impl Into<String>) -> Self
pub fn parent_shard_id(self, input: impl Into<String>) -> Self
The shard ID of the current shard's parent.
sourcepub fn set_parent_shard_id(self, input: Option<String>) -> Self
pub fn set_parent_shard_id(self, input: Option<String>) -> Self
The shard ID of the current shard's parent.
sourcepub fn get_parent_shard_id(&self) -> &Option<String>
pub fn get_parent_shard_id(&self) -> &Option<String>
The shard ID of the current shard's parent.
Trait Implementations§
source§impl Clone for ShardBuilder
impl Clone for ShardBuilder
source§fn clone(&self) -> ShardBuilder
fn clone(&self) -> ShardBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShardBuilder
impl Debug for ShardBuilder
source§impl Default for ShardBuilder
impl Default for ShardBuilder
source§fn default() -> ShardBuilder
fn default() -> ShardBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ShardBuilder
impl PartialEq for ShardBuilder
source§fn eq(&self, other: &ShardBuilder) -> bool
fn eq(&self, other: &ShardBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ShardBuilder
Auto Trait Implementations§
impl Freeze for ShardBuilder
impl RefUnwindSafe for ShardBuilder
impl Send for ShardBuilder
impl Sync for ShardBuilder
impl Unpin for ShardBuilder
impl UnwindSafe for ShardBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.