Struct aws_sdk_kinesis::input::merge_shards_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MergeShardsInput
.
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 merge.
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 merge.
sourcepub fn shard_to_merge(self, input: impl Into<String>) -> Self
pub fn shard_to_merge(self, input: impl Into<String>) -> Self
The shard ID of the shard to combine with the adjacent shard for the merge.
sourcepub fn set_shard_to_merge(self, input: Option<String>) -> Self
pub fn set_shard_to_merge(self, input: Option<String>) -> Self
The shard ID of the shard to combine with the adjacent shard for the merge.
sourcepub fn adjacent_shard_to_merge(self, input: impl Into<String>) -> Self
pub fn adjacent_shard_to_merge(self, input: impl Into<String>) -> Self
The shard ID of the adjacent shard for the merge.
sourcepub fn set_adjacent_shard_to_merge(self, input: Option<String>) -> Self
pub fn set_adjacent_shard_to_merge(self, input: Option<String>) -> Self
The shard ID of the adjacent shard for the merge.
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<MergeShardsInput, BuildError>
pub fn build(self) -> Result<MergeShardsInput, BuildError>
Consumes the builder and constructs a MergeShardsInput
.