Struct aws_sdk_kinesis::output::update_shard_count_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateShardCountOutput
.
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.
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.
sourcepub fn current_shard_count(self, input: i32) -> Self
pub fn current_shard_count(self, input: i32) -> Self
The current number of shards.
sourcepub fn set_current_shard_count(self, input: Option<i32>) -> Self
pub fn set_current_shard_count(self, input: Option<i32>) -> Self
The current number of shards.
sourcepub fn target_shard_count(self, input: i32) -> Self
pub fn target_shard_count(self, input: i32) -> Self
The updated number of shards.
sourcepub fn set_target_shard_count(self, input: Option<i32>) -> Self
pub fn set_target_shard_count(self, input: Option<i32>) -> Self
The updated number of shards.
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) -> UpdateShardCountOutput
pub fn build(self) -> UpdateShardCountOutput
Consumes the builder and constructs a UpdateShardCountOutput
.