Struct aws_sdk_chime::operation::list_channel_memberships::builders::ListChannelMembershipsOutputBuilder
source · #[non_exhaustive]pub struct ListChannelMembershipsOutputBuilder { /* private fields */ }
Expand description
A builder for ListChannelMembershipsOutput
.
Implementations§
source§impl ListChannelMembershipsOutputBuilder
impl ListChannelMembershipsOutputBuilder
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.
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.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
The ARN of the channel.
sourcepub fn channel_memberships(self, input: ChannelMembershipSummary) -> Self
pub fn channel_memberships(self, input: ChannelMembershipSummary) -> Self
Appends an item to channel_memberships
.
To override the contents of this collection use set_channel_memberships
.
The information for the requested channel memberships.
sourcepub fn set_channel_memberships(
self,
input: Option<Vec<ChannelMembershipSummary>>
) -> Self
pub fn set_channel_memberships( self, input: Option<Vec<ChannelMembershipSummary>> ) -> Self
The information for the requested channel memberships.
sourcepub fn get_channel_memberships(&self) -> &Option<Vec<ChannelMembershipSummary>>
pub fn get_channel_memberships(&self) -> &Option<Vec<ChannelMembershipSummary>>
The information for the requested channel memberships.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token passed by previous API calls until all requested channel memberships are returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token passed by previous API calls until all requested channel memberships are returned.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token passed by previous API calls until all requested channel memberships are returned.
sourcepub fn build(self) -> ListChannelMembershipsOutput
pub fn build(self) -> ListChannelMembershipsOutput
Consumes the builder and constructs a ListChannelMembershipsOutput
.
Trait Implementations§
source§impl Clone for ListChannelMembershipsOutputBuilder
impl Clone for ListChannelMembershipsOutputBuilder
source§fn clone(&self) -> ListChannelMembershipsOutputBuilder
fn clone(&self) -> ListChannelMembershipsOutputBuilder
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 ListChannelMembershipsOutputBuilder
impl Default for ListChannelMembershipsOutputBuilder
source§fn default() -> ListChannelMembershipsOutputBuilder
fn default() -> ListChannelMembershipsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListChannelMembershipsOutputBuilder
impl PartialEq for ListChannelMembershipsOutputBuilder
source§fn eq(&self, other: &ListChannelMembershipsOutputBuilder) -> bool
fn eq(&self, other: &ListChannelMembershipsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChannelMembershipsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListChannelMembershipsOutputBuilder
impl RefUnwindSafe for ListChannelMembershipsOutputBuilder
impl Send for ListChannelMembershipsOutputBuilder
impl Sync for ListChannelMembershipsOutputBuilder
impl Unpin for ListChannelMembershipsOutputBuilder
impl UnwindSafe for ListChannelMembershipsOutputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.