#[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 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 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 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 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
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 Default for BatchChannelMembershipsBuilder
impl Default for BatchChannelMembershipsBuilder
source§fn default() -> BatchChannelMembershipsBuilder
fn default() -> BatchChannelMembershipsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchChannelMembershipsBuilder> for BatchChannelMembershipsBuilder
impl PartialEq<BatchChannelMembershipsBuilder> for BatchChannelMembershipsBuilder
source§fn eq(&self, other: &BatchChannelMembershipsBuilder) -> bool
fn eq(&self, other: &BatchChannelMembershipsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.