Struct aws_sdk_kinesis::types::builders::StreamModeDetailsBuilder
source · #[non_exhaustive]pub struct StreamModeDetailsBuilder { /* private fields */ }Expand description
A builder for StreamModeDetails.
Implementations§
source§impl StreamModeDetailsBuilder
impl StreamModeDetailsBuilder
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.
This field is required.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 get_stream_mode(&self) -> &Option<StreamMode>
pub fn get_stream_mode(&self) -> &Option<StreamMode>
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<StreamModeDetails, BuildError>
pub fn build(self) -> Result<StreamModeDetails, BuildError>
Consumes the builder and constructs a StreamModeDetails.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StreamModeDetailsBuilder
impl Clone for StreamModeDetailsBuilder
source§fn clone(&self) -> StreamModeDetailsBuilder
fn clone(&self) -> StreamModeDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StreamModeDetailsBuilder
impl Debug for StreamModeDetailsBuilder
source§impl Default for StreamModeDetailsBuilder
impl Default for StreamModeDetailsBuilder
source§fn default() -> StreamModeDetailsBuilder
fn default() -> StreamModeDetailsBuilder
source§impl PartialEq for StreamModeDetailsBuilder
impl PartialEq for StreamModeDetailsBuilder
source§fn eq(&self, other: &StreamModeDetailsBuilder) -> bool
fn eq(&self, other: &StreamModeDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.