Struct aws_sdk_kinesis::model::stream_mode_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StreamModeDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn stream_mode(self, input: StreamMode) -> Self
pub fn stream_mode(self, input: StreamMode) -> 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(self, input: Option<StreamMode>) -> Self
pub fn set_stream_mode(self, input: Option<StreamMode>) -> 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) -> StreamModeDetails
pub fn build(self) -> StreamModeDetails
Consumes the builder and constructs a StreamModeDetails
.