Struct aws_sdk_kinesis::operation::update_stream_mode::builders::UpdateStreamModeInputBuilder
source · #[non_exhaustive]pub struct UpdateStreamModeInputBuilder { /* private fields */ }Expand description
A builder for UpdateStreamModeInput.
Implementations§
source§impl UpdateStreamModeInputBuilder
impl UpdateStreamModeInputBuilder
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.
This field is required.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 get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
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.
This field is required.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 get_stream_mode_details(&self) -> &Option<StreamModeDetails>
pub fn get_stream_mode_details(&self) -> &Option<StreamModeDetails>
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.
source§impl UpdateStreamModeInputBuilder
impl UpdateStreamModeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateStreamModeOutput, SdkError<UpdateStreamModeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateStreamModeOutput, SdkError<UpdateStreamModeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateStreamModeInputBuilder
impl Clone for UpdateStreamModeInputBuilder
source§fn clone(&self) -> UpdateStreamModeInputBuilder
fn clone(&self) -> UpdateStreamModeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateStreamModeInputBuilder
impl Debug for UpdateStreamModeInputBuilder
source§impl Default for UpdateStreamModeInputBuilder
impl Default for UpdateStreamModeInputBuilder
source§fn default() -> UpdateStreamModeInputBuilder
fn default() -> UpdateStreamModeInputBuilder
source§impl PartialEq for UpdateStreamModeInputBuilder
impl PartialEq for UpdateStreamModeInputBuilder
source§fn eq(&self, other: &UpdateStreamModeInputBuilder) -> bool
fn eq(&self, other: &UpdateStreamModeInputBuilder) -> bool
self and other values to be equal, and is used
by ==.