Struct aws_sdk_chime::types::builders::ChannelMembershipBuilder
source · #[non_exhaustive]pub struct ChannelMembershipBuilder { /* private fields */ }
Expand description
A builder for ChannelMembership
.
Implementations§
source§impl ChannelMembershipBuilder
impl ChannelMembershipBuilder
sourcepub fn invited_by(self, input: Identity) -> Self
pub fn invited_by(self, input: Identity) -> Self
The identifier of the member who invited another member.
sourcepub fn set_invited_by(self, input: Option<Identity>) -> Self
pub fn set_invited_by(self, input: Option<Identity>) -> Self
The identifier of the member who invited another member.
sourcepub fn get_invited_by(&self) -> &Option<Identity>
pub fn get_invited_by(&self) -> &Option<Identity>
The identifier of the member who invited another member.
sourcepub fn type(self, input: ChannelMembershipType) -> Self
pub fn type(self, input: ChannelMembershipType) -> Self
The membership type set for the channel member.
sourcepub fn set_type(self, input: Option<ChannelMembershipType>) -> Self
pub fn set_type(self, input: Option<ChannelMembershipType>) -> Self
The membership type set for the channel member.
sourcepub fn get_type(&self) -> &Option<ChannelMembershipType>
pub fn get_type(&self) -> &Option<ChannelMembershipType>
The membership type set for the channel member.
sourcepub fn set_member(self, input: Option<Identity>) -> Self
pub fn set_member(self, input: Option<Identity>) -> Self
The data of the channel member.
sourcepub fn get_member(&self) -> &Option<Identity>
pub fn get_member(&self) -> &Option<Identity>
The data of the channel member.
sourcepub fn channel_arn(self, input: impl Into<String>) -> Self
pub fn channel_arn(self, input: impl Into<String>) -> Self
The ARN of the member's 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 member's channel.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
The ARN of the member's channel.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The time at which the channel membership was created.
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 channel membership was created.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The time at which the channel membership was created.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
The time at which a channel membership 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 membership 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 membership was last updated.
sourcepub fn build(self) -> ChannelMembership
pub fn build(self) -> ChannelMembership
Consumes the builder and constructs a ChannelMembership
.
Trait Implementations§
source§impl Clone for ChannelMembershipBuilder
impl Clone for ChannelMembershipBuilder
source§fn clone(&self) -> ChannelMembershipBuilder
fn clone(&self) -> ChannelMembershipBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelMembershipBuilder
impl Debug for ChannelMembershipBuilder
source§impl Default for ChannelMembershipBuilder
impl Default for ChannelMembershipBuilder
source§fn default() -> ChannelMembershipBuilder
fn default() -> ChannelMembershipBuilder
source§impl PartialEq for ChannelMembershipBuilder
impl PartialEq for ChannelMembershipBuilder
source§fn eq(&self, other: &ChannelMembershipBuilder) -> bool
fn eq(&self, other: &ChannelMembershipBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelMembershipBuilder
Auto Trait Implementations§
impl Freeze for ChannelMembershipBuilder
impl RefUnwindSafe for ChannelMembershipBuilder
impl Send for ChannelMembershipBuilder
impl Sync for ChannelMembershipBuilder
impl Unpin for ChannelMembershipBuilder
impl UnwindSafe for ChannelMembershipBuilder
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