#[non_exhaustive]pub struct BatchChannelMembershipsBuilder { /* private fields */ }
Expand description
A builder for BatchChannelMemberships
.
Implementations§
source§impl BatchChannelMembershipsBuilder
impl BatchChannelMembershipsBuilder
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 types set for the channel users.
sourcepub fn set_type(self, input: Option<ChannelMembershipType>) -> Self
pub fn set_type(self, input: Option<ChannelMembershipType>) -> Self
The membership types set for the channel users.
sourcepub fn get_type(&self) -> &Option<ChannelMembershipType>
pub fn get_type(&self) -> &Option<ChannelMembershipType>
The membership types set for the channel users.
sourcepub fn members(self, input: Identity) -> Self
pub fn members(self, input: Identity) -> Self
Appends an item to members
.
To override the contents of this collection use set_members
.
The users successfully added to the request.
sourcepub fn set_members(self, input: Option<Vec<Identity>>) -> Self
pub fn set_members(self, input: Option<Vec<Identity>>) -> Self
The users successfully added to the request.
sourcepub fn get_members(&self) -> &Option<Vec<Identity>>
pub fn get_members(&self) -> &Option<Vec<Identity>>
The users successfully added to the request.
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 to which you're adding users.
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 to which you're adding users.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
The ARN of the channel to which you're adding users.
sourcepub fn build(self) -> BatchChannelMemberships
pub fn build(self) -> BatchChannelMemberships
Consumes the builder and constructs a BatchChannelMemberships
.
Trait Implementations§
source§impl Clone for BatchChannelMembershipsBuilder
impl Clone for BatchChannelMembershipsBuilder
source§fn clone(&self) -> BatchChannelMembershipsBuilder
fn clone(&self) -> BatchChannelMembershipsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchChannelMembershipsBuilder
impl Default for BatchChannelMembershipsBuilder
source§fn default() -> BatchChannelMembershipsBuilder
fn default() -> BatchChannelMembershipsBuilder
source§impl PartialEq for BatchChannelMembershipsBuilder
impl PartialEq for BatchChannelMembershipsBuilder
source§fn eq(&self, other: &BatchChannelMembershipsBuilder) -> bool
fn eq(&self, other: &BatchChannelMembershipsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchChannelMembershipsBuilder
Auto Trait Implementations§
impl Freeze for BatchChannelMembershipsBuilder
impl RefUnwindSafe for BatchChannelMembershipsBuilder
impl Send for BatchChannelMembershipsBuilder
impl Sync for BatchChannelMembershipsBuilder
impl Unpin for BatchChannelMembershipsBuilder
impl UnwindSafe for BatchChannelMembershipsBuilder
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