Struct aws_sdk_kinesis::input::update_stream_mode_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateStreamModeInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
Specifies the ARN of the data stream whose capacity mode you want to update.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
Specifies the ARN of the data stream whose capacity mode you want to update.
sourcepub fn stream_mode_details(self, input: StreamModeDetails) -> Self
pub fn stream_mode_details(self, input: StreamModeDetails) -> Self
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
sourcepub fn set_stream_mode_details(self, input: Option<StreamModeDetails>) -> Self
pub fn set_stream_mode_details(self, input: Option<StreamModeDetails>) -> Self
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
sourcepub fn build(self) -> Result<UpdateStreamModeInput, BuildError>
pub fn build(self) -> Result<UpdateStreamModeInput, BuildError>
Consumes the builder and constructs a UpdateStreamModeInput
.