Struct aws_sdk_kinesis::model::shard::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Shard
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn shard_id(self, input: impl Into<String>) -> Self
pub fn shard_id(self, input: impl Into<String>) -> Self
The unique identifier of the shard within the stream.
sourcepub fn set_shard_id(self, input: Option<String>) -> Self
pub fn set_shard_id(self, input: Option<String>) -> Self
The unique identifier of the shard within the stream.
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 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 shard's parent.
sourcepub fn adjacent_parent_shard_id(self, input: impl Into<String>) -> Self
pub fn adjacent_parent_shard_id(self, input: impl Into<String>) -> Self
The shard ID of the shard adjacent to the shard's parent.
sourcepub fn set_adjacent_parent_shard_id(self, input: Option<String>) -> Self
pub fn set_adjacent_parent_shard_id(self, input: Option<String>) -> Self
The shard ID of the shard adjacent to the shard's parent.
sourcepub fn hash_key_range(self, input: HashKeyRange) -> Self
pub fn hash_key_range(self, input: HashKeyRange) -> Self
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
sourcepub fn set_hash_key_range(self, input: Option<HashKeyRange>) -> Self
pub fn set_hash_key_range(self, input: Option<HashKeyRange>) -> Self
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
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.