Struct aws_sdk_chime::types::builders::ChannelBuilder
source · #[non_exhaustive]pub struct ChannelBuilder { /* private fields */ }
Expand description
A builder for Channel
.
Implementations§
source§impl ChannelBuilder
impl ChannelBuilder
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 channel's privacy setting.
sourcepub fn set_privacy(self, input: Option<ChannelPrivacy>) -> Self
pub fn set_privacy(self, input: Option<ChannelPrivacy>) -> Self
The channel's privacy setting.
sourcepub fn get_privacy(&self) -> &Option<ChannelPrivacy>
pub fn get_privacy(&self) -> &Option<ChannelPrivacy>
The channel's privacy setting.
sourcepub fn set_metadata(self, input: Option<String>) -> Self
pub fn set_metadata(self, input: Option<String>) -> Self
The channel's metadata.
sourcepub fn get_metadata(&self) -> &Option<String>
pub fn get_metadata(&self) -> &Option<String>
The channel's metadata.
sourcepub fn created_by(self, input: Identity) -> Self
pub fn created_by(self, input: Identity) -> Self
The AppInstanceUser
who created the channel.
sourcepub fn set_created_by(self, input: Option<Identity>) -> Self
pub fn set_created_by(self, input: Option<Identity>) -> Self
The AppInstanceUser
who created the channel.
sourcepub fn get_created_by(&self) -> &Option<Identity>
pub fn get_created_by(&self) -> &Option<Identity>
The AppInstanceUser
who created the channel.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The time at which the AppInstanceUser
created the channel.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The time at which the AppInstanceUser
created the channel.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The time at which the AppInstanceUser
created the channel.
sourcepub fn last_message_timestamp(self, input: DateTime) -> Self
pub fn last_message_timestamp(self, input: DateTime) -> Self
The time at which a member sent the last message in the channel.
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 a member sent the last message in the channel.
sourcepub fn get_last_message_timestamp(&self) -> &Option<DateTime>
pub fn get_last_message_timestamp(&self) -> &Option<DateTime>
The time at which a member sent the last message in the channel.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
The time at which a channel was last updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
The time at which a channel was last updated.
sourcepub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
The time at which a channel was last updated.
Trait Implementations§
source§impl Clone for ChannelBuilder
impl Clone for ChannelBuilder
source§fn clone(&self) -> ChannelBuilder
fn clone(&self) -> ChannelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelBuilder
impl Debug for ChannelBuilder
source§impl Default for ChannelBuilder
impl Default for ChannelBuilder
source§fn default() -> ChannelBuilder
fn default() -> ChannelBuilder
source§impl PartialEq for ChannelBuilder
impl PartialEq for ChannelBuilder
source§fn eq(&self, other: &ChannelBuilder) -> bool
fn eq(&self, other: &ChannelBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelBuilder
Auto Trait Implementations§
impl Freeze for ChannelBuilder
impl RefUnwindSafe for ChannelBuilder
impl Send for ChannelBuilder
impl Sync for ChannelBuilder
impl Unpin for ChannelBuilder
impl UnwindSafe for ChannelBuilder
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
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>
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>
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 more