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