#[non_exhaustive]pub struct CreateStreamOutputBuilder { /* private fields */ }
Expand description
A builder for CreateStreamOutput
.
Implementations§
source§impl CreateStreamOutputBuilder
impl CreateStreamOutputBuilder
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
The stream ID.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The stream ARN.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The stream ARN.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the stream.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the stream.
sourcepub fn stream_version(self, input: i32) -> Self
pub fn stream_version(self, input: i32) -> Self
The version of the stream.
sourcepub fn set_stream_version(self, input: Option<i32>) -> Self
pub fn set_stream_version(self, input: Option<i32>) -> Self
The version of the stream.
sourcepub fn build(self) -> CreateStreamOutput
pub fn build(self) -> CreateStreamOutput
Consumes the builder and constructs a CreateStreamOutput
.
Trait Implementations§
source§impl Clone for CreateStreamOutputBuilder
impl Clone for CreateStreamOutputBuilder
source§fn clone(&self) -> CreateStreamOutputBuilder
fn clone(&self) -> CreateStreamOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateStreamOutputBuilder
impl Debug for CreateStreamOutputBuilder
source§impl Default for CreateStreamOutputBuilder
impl Default for CreateStreamOutputBuilder
source§fn default() -> CreateStreamOutputBuilder
fn default() -> CreateStreamOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateStreamOutputBuilder> for CreateStreamOutputBuilder
impl PartialEq<CreateStreamOutputBuilder> for CreateStreamOutputBuilder
source§fn eq(&self, other: &CreateStreamOutputBuilder) -> bool
fn eq(&self, other: &CreateStreamOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.