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 ==
.