Struct aws_sdk_chime::types::builders::ChannelSummaryBuilder
source · #[non_exhaustive]pub struct ChannelSummaryBuilder { /* private fields */ }
Expand description
A builder for ChannelSummary
.
Implementations§
source§impl ChannelSummaryBuilder
impl ChannelSummaryBuilder
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 mode(self, input: ChannelMode) -> Self
pub fn mode(self, input: ChannelMode) -> Self
The mode of the channel.
sourcepub fn set_mode(self, input: Option<ChannelMode>) -> Self
pub fn set_mode(self, input: Option<ChannelMode>) -> Self
The mode of the channel.
sourcepub fn get_mode(&self) -> &Option<ChannelMode>
pub fn get_mode(&self) -> &Option<ChannelMode>
The mode of the channel.
sourcepub fn privacy(self, input: ChannelPrivacy) -> Self
pub fn privacy(self, input: ChannelPrivacy) -> Self
The privacy setting of the channel.
sourcepub fn set_privacy(self, input: Option<ChannelPrivacy>) -> Self
pub fn set_privacy(self, input: Option<ChannelPrivacy>) -> Self
The privacy setting of the channel.
sourcepub fn get_privacy(&self) -> &Option<ChannelPrivacy>
pub fn get_privacy(&self) -> &Option<ChannelPrivacy>
The privacy setting of the channel.
sourcepub fn set_metadata(self, input: Option<String>) -> Self
pub fn set_metadata(self, input: Option<String>) -> Self
The metadata of the channel.
sourcepub fn get_metadata(&self) -> &Option<String>
pub fn get_metadata(&self) -> &Option<String>
The metadata of the channel.
sourcepub fn last_message_timestamp(self, input: DateTime) -> Self
pub fn last_message_timestamp(self, input: DateTime) -> Self
The time at which the last message in a channel was sent.
sourcepub fn set_last_message_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_message_timestamp(self, input: Option<DateTime>) -> Self
The time at which the last message in a channel was sent.
sourcepub fn get_last_message_timestamp(&self) -> &Option<DateTime>
pub fn get_last_message_timestamp(&self) -> &Option<DateTime>
The time at which the last message in a channel was sent.
sourcepub fn build(self) -> ChannelSummary
pub fn build(self) -> ChannelSummary
Consumes the builder and constructs a ChannelSummary
.
Trait Implementations§
source§impl Clone for ChannelSummaryBuilder
impl Clone for ChannelSummaryBuilder
source§fn clone(&self) -> ChannelSummaryBuilder
fn clone(&self) -> ChannelSummaryBuilder
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 ChannelSummaryBuilder
impl Debug for ChannelSummaryBuilder
source§impl Default for ChannelSummaryBuilder
impl Default for ChannelSummaryBuilder
source§fn default() -> ChannelSummaryBuilder
fn default() -> ChannelSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ChannelSummaryBuilder
impl PartialEq for ChannelSummaryBuilder
source§fn eq(&self, other: &ChannelSummaryBuilder) -> bool
fn eq(&self, other: &ChannelSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelSummaryBuilder
Auto Trait Implementations§
impl Freeze for ChannelSummaryBuilder
impl RefUnwindSafe for ChannelSummaryBuilder
impl Send for ChannelSummaryBuilder
impl Sync for ChannelSummaryBuilder
impl Unpin for ChannelSummaryBuilder
impl UnwindSafe for ChannelSummaryBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.