Struct aws_sdk_chime::operation::list_channel_moderators::builders::ListChannelModeratorsOutputBuilder
source · #[non_exhaustive]pub struct ListChannelModeratorsOutputBuilder { /* private fields */ }
Expand description
A builder for ListChannelModeratorsOutput
.
Implementations§
source§impl ListChannelModeratorsOutputBuilder
impl ListChannelModeratorsOutputBuilder
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 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 moderators 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 moderators 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 moderators are returned.
sourcepub fn channel_moderators(self, input: ChannelModeratorSummary) -> Self
pub fn channel_moderators(self, input: ChannelModeratorSummary) -> Self
Appends an item to channel_moderators
.
To override the contents of this collection use set_channel_moderators
.
The information about and names of each moderator.
sourcepub fn set_channel_moderators(
self,
input: Option<Vec<ChannelModeratorSummary>>
) -> Self
pub fn set_channel_moderators( self, input: Option<Vec<ChannelModeratorSummary>> ) -> Self
The information about and names of each moderator.
sourcepub fn get_channel_moderators(&self) -> &Option<Vec<ChannelModeratorSummary>>
pub fn get_channel_moderators(&self) -> &Option<Vec<ChannelModeratorSummary>>
The information about and names of each moderator.
sourcepub fn build(self) -> ListChannelModeratorsOutput
pub fn build(self) -> ListChannelModeratorsOutput
Consumes the builder and constructs a ListChannelModeratorsOutput
.
Trait Implementations§
source§impl Clone for ListChannelModeratorsOutputBuilder
impl Clone for ListChannelModeratorsOutputBuilder
source§fn clone(&self) -> ListChannelModeratorsOutputBuilder
fn clone(&self) -> ListChannelModeratorsOutputBuilder
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 ListChannelModeratorsOutputBuilder
impl Default for ListChannelModeratorsOutputBuilder
source§fn default() -> ListChannelModeratorsOutputBuilder
fn default() -> ListChannelModeratorsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListChannelModeratorsOutputBuilder
impl PartialEq for ListChannelModeratorsOutputBuilder
source§fn eq(&self, other: &ListChannelModeratorsOutputBuilder) -> bool
fn eq(&self, other: &ListChannelModeratorsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChannelModeratorsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListChannelModeratorsOutputBuilder
impl RefUnwindSafe for ListChannelModeratorsOutputBuilder
impl Send for ListChannelModeratorsOutputBuilder
impl Sync for ListChannelModeratorsOutputBuilder
impl Unpin for ListChannelModeratorsOutputBuilder
impl UnwindSafe for ListChannelModeratorsOutputBuilder
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>
Creates a shared type from an unshared type.