Struct aws_sdk_kinesis::input::split_shard_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SplitShardInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the stream for the shard split.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the stream for the shard split.
sourcepub fn shard_to_split(self, input: impl Into<String>) -> Self
pub fn shard_to_split(self, input: impl Into<String>) -> Self
The shard ID of the shard to split.
sourcepub fn set_shard_to_split(self, input: Option<String>) -> Self
pub fn set_shard_to_split(self, input: Option<String>) -> Self
The shard ID of the shard to split.
sourcepub fn new_starting_hash_key(self, input: impl Into<String>) -> Self
pub fn new_starting_hash_key(self, input: impl Into<String>) -> Self
A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey
must be in the range of hash keys being mapped into the shard. The NewStartingHashKey
hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
sourcepub fn set_new_starting_hash_key(self, input: Option<String>) -> Self
pub fn set_new_starting_hash_key(self, input: Option<String>) -> Self
A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey
must be in the range of hash keys being mapped into the shard. The NewStartingHashKey
hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of the stream.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The ARN of the stream.
sourcepub fn build(self) -> Result<SplitShardInput, BuildError>
pub fn build(self) -> Result<SplitShardInput, BuildError>
Consumes the builder and constructs a SplitShardInput
.