#[non_exhaustive]pub struct ListChannelBansOutputBuilder { /* private fields */ }
Expand description
A builder for ListChannelBansOutput
.
Implementations§
source§impl ListChannelBansOutputBuilder
impl ListChannelBansOutputBuilder
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 bans 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 bans 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 bans are returned.
sourcepub fn channel_bans(self, input: ChannelBanSummary) -> Self
pub fn channel_bans(self, input: ChannelBanSummary) -> Self
Appends an item to channel_bans
.
To override the contents of this collection use set_channel_bans
.
The information for each requested ban.
sourcepub fn set_channel_bans(self, input: Option<Vec<ChannelBanSummary>>) -> Self
pub fn set_channel_bans(self, input: Option<Vec<ChannelBanSummary>>) -> Self
The information for each requested ban.
sourcepub fn get_channel_bans(&self) -> &Option<Vec<ChannelBanSummary>>
pub fn get_channel_bans(&self) -> &Option<Vec<ChannelBanSummary>>
The information for each requested ban.
sourcepub fn build(self) -> ListChannelBansOutput
pub fn build(self) -> ListChannelBansOutput
Consumes the builder and constructs a ListChannelBansOutput
.
Trait Implementations§
source§impl Clone for ListChannelBansOutputBuilder
impl Clone for ListChannelBansOutputBuilder
source§fn clone(&self) -> ListChannelBansOutputBuilder
fn clone(&self) -> ListChannelBansOutputBuilder
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 Debug for ListChannelBansOutputBuilder
impl Debug for ListChannelBansOutputBuilder
source§impl Default for ListChannelBansOutputBuilder
impl Default for ListChannelBansOutputBuilder
source§fn default() -> ListChannelBansOutputBuilder
fn default() -> ListChannelBansOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListChannelBansOutputBuilder
impl PartialEq for ListChannelBansOutputBuilder
source§fn eq(&self, other: &ListChannelBansOutputBuilder) -> bool
fn eq(&self, other: &ListChannelBansOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChannelBansOutputBuilder
Auto Trait Implementations§
impl Freeze for ListChannelBansOutputBuilder
impl RefUnwindSafe for ListChannelBansOutputBuilder
impl Send for ListChannelBansOutputBuilder
impl Sync for ListChannelBansOutputBuilder
impl Unpin for ListChannelBansOutputBuilder
impl UnwindSafe for ListChannelBansOutputBuilder
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.