Struct aws_sdk_kinesis::model::child_shard::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ChildShard
.
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 shard ID of the existing child shard of the current shard.
sourcepub fn set_shard_id(self, input: Option<String>) -> Self
pub fn set_shard_id(self, input: Option<String>) -> Self
The shard ID of the existing child shard of the current shard.
sourcepub fn parent_shards(self, input: impl Into<String>) -> Self
pub fn parent_shards(self, input: impl Into<String>) -> Self
Appends an item to parent_shards
.
To override the contents of this collection use set_parent_shards
.
The current shard that is the parent of the existing child shard.
sourcepub fn set_parent_shards(self, input: Option<Vec<String>>) -> Self
pub fn set_parent_shards(self, input: Option<Vec<String>>) -> Self
The current shard that is the parent of the existing child shard.
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 build(self) -> ChildShard
pub fn build(self) -> ChildShard
Consumes the builder and constructs a ChildShard
.