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 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 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 set_metadata(self, input: Option<String>) -> Self
pub fn set_metadata(self, input: Option<String>) -> Self
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 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 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 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.
Trait Implementations§
source§impl Clone for ChannelBuilder
impl Clone for ChannelBuilder
source§fn clone(&self) -> ChannelBuilder
fn clone(&self) -> ChannelBuilder
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 ChannelBuilder
impl Debug for ChannelBuilder
source§impl Default for ChannelBuilder
impl Default for ChannelBuilder
source§fn default() -> ChannelBuilder
fn default() -> ChannelBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ChannelBuilder> for ChannelBuilder
impl PartialEq<ChannelBuilder> for ChannelBuilder
source§fn eq(&self, other: &ChannelBuilder) -> bool
fn eq(&self, other: &ChannelBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChannelBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more