#[non_exhaustive]pub struct ListAccountsOutputBuilder { /* private fields */ }
Expand description
A builder for ListAccountsOutput
.
Implementations§
source§impl ListAccountsOutputBuilder
impl ListAccountsOutputBuilder
sourcepub fn accounts(self, input: Account) -> Self
pub fn accounts(self, input: Account) -> Self
Appends an item to accounts
.
To override the contents of this collection use set_accounts
.
List of Amazon Chime accounts and account details.
sourcepub fn set_accounts(self, input: Option<Vec<Account>>) -> Self
pub fn set_accounts(self, input: Option<Vec<Account>>) -> Self
List of Amazon Chime accounts and account details.
sourcepub fn get_accounts(&self) -> &Option<Vec<Account>>
pub fn get_accounts(&self) -> &Option<Vec<Account>>
List of Amazon Chime accounts and account details.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results.
sourcepub fn build(self) -> ListAccountsOutput
pub fn build(self) -> ListAccountsOutput
Consumes the builder and constructs a ListAccountsOutput
.
Trait Implementations§
source§impl Clone for ListAccountsOutputBuilder
impl Clone for ListAccountsOutputBuilder
source§fn clone(&self) -> ListAccountsOutputBuilder
fn clone(&self) -> ListAccountsOutputBuilder
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 ListAccountsOutputBuilder
impl Debug for ListAccountsOutputBuilder
source§impl Default for ListAccountsOutputBuilder
impl Default for ListAccountsOutputBuilder
source§fn default() -> ListAccountsOutputBuilder
fn default() -> ListAccountsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListAccountsOutputBuilder
impl PartialEq for ListAccountsOutputBuilder
source§fn eq(&self, other: &ListAccountsOutputBuilder) -> bool
fn eq(&self, other: &ListAccountsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAccountsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListAccountsOutputBuilder
impl RefUnwindSafe for ListAccountsOutputBuilder
impl Send for ListAccountsOutputBuilder
impl Sync for ListAccountsOutputBuilder
impl Unpin for ListAccountsOutputBuilder
impl UnwindSafe for ListAccountsOutputBuilder
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.