#[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 get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
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 get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_stream_version(&self) -> &Option<i32>
pub fn get_stream_version(&self) -> &Option<i32>
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 for CreateStreamOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateStreamOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateStreamOutputBuilder
impl Send for CreateStreamOutputBuilder
impl Sync for CreateStreamOutputBuilder
impl Unpin for CreateStreamOutputBuilder
impl UnwindSafe for CreateStreamOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.