Struct aws_sdk_iotanalytics::operation::create_channel::builders::CreateChannelOutputBuilder
source · #[non_exhaustive]pub struct CreateChannelOutputBuilder { /* private fields */ }
Expand description
A builder for CreateChannelOutput
.
Implementations§
source§impl CreateChannelOutputBuilder
impl CreateChannelOutputBuilder
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name of the channel.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name of the channel.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name of the channel.
sourcepub fn channel_arn(self, input: impl Into<String>) -> Self
pub fn channel_arn(self, input: impl Into<String>) -> Self
The ARN of the channel.
sourcepub fn set_channel_arn(self, input: Option<String>) -> Self
pub fn set_channel_arn(self, input: Option<String>) -> Self
The ARN of the channel.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
The ARN of the channel.
sourcepub fn retention_period(self, input: RetentionPeriod) -> Self
pub fn retention_period(self, input: RetentionPeriod) -> Self
How long, in days, message data is kept for the channel.
sourcepub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
pub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
How long, in days, message data is kept for the channel.
sourcepub fn get_retention_period(&self) -> &Option<RetentionPeriod>
pub fn get_retention_period(&self) -> &Option<RetentionPeriod>
How long, in days, message data is kept for the channel.
sourcepub fn build(self) -> CreateChannelOutput
pub fn build(self) -> CreateChannelOutput
Consumes the builder and constructs a CreateChannelOutput
.
Trait Implementations§
source§impl Clone for CreateChannelOutputBuilder
impl Clone for CreateChannelOutputBuilder
source§fn clone(&self) -> CreateChannelOutputBuilder
fn clone(&self) -> CreateChannelOutputBuilder
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 CreateChannelOutputBuilder
impl Debug for CreateChannelOutputBuilder
source§impl Default for CreateChannelOutputBuilder
impl Default for CreateChannelOutputBuilder
source§fn default() -> CreateChannelOutputBuilder
fn default() -> CreateChannelOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateChannelOutputBuilder
impl PartialEq for CreateChannelOutputBuilder
source§fn eq(&self, other: &CreateChannelOutputBuilder) -> bool
fn eq(&self, other: &CreateChannelOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateChannelOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateChannelOutputBuilder
impl Send for CreateChannelOutputBuilder
impl Sync for CreateChannelOutputBuilder
impl Unpin for CreateChannelOutputBuilder
impl UnwindSafe for CreateChannelOutputBuilder
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.