#[non_exhaustive]pub struct ListContactsOutputBuilder { /* private fields */ }
Expand description
A builder for ListContactsOutput
.
Implementations§
source§impl ListContactsOutputBuilder
impl ListContactsOutputBuilder
sourcepub fn contacts(self, input: Contact) -> Self
pub fn contacts(self, input: Contact) -> Self
Appends an item to contacts
.
To override the contents of this collection use set_contacts
.
The contacts present in a specific contact list.
sourcepub fn set_contacts(self, input: Option<Vec<Contact>>) -> Self
pub fn set_contacts(self, input: Option<Vec<Contact>>) -> Self
The contacts present in a specific contact list.
sourcepub fn get_contacts(&self) -> &Option<Vec<Contact>>
pub fn get_contacts(&self) -> &Option<Vec<Contact>>
The contacts present in a specific contact list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A string token indicating that there might be additional contacts available to be listed. Copy this token to a subsequent call to ListContacts
with the same parameters to retrieve the next page of contacts.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string token indicating that there might be additional contacts available to be listed. Copy this token to a subsequent call to ListContacts
with the same parameters to retrieve the next page of contacts.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A string token indicating that there might be additional contacts available to be listed. Copy this token to a subsequent call to ListContacts
with the same parameters to retrieve the next page of contacts.
sourcepub fn build(self) -> ListContactsOutput
pub fn build(self) -> ListContactsOutput
Consumes the builder and constructs a ListContactsOutput
.
Trait Implementations§
source§impl Clone for ListContactsOutputBuilder
impl Clone for ListContactsOutputBuilder
source§fn clone(&self) -> ListContactsOutputBuilder
fn clone(&self) -> ListContactsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListContactsOutputBuilder
impl Debug for ListContactsOutputBuilder
source§impl Default for ListContactsOutputBuilder
impl Default for ListContactsOutputBuilder
source§fn default() -> ListContactsOutputBuilder
fn default() -> ListContactsOutputBuilder
source§impl PartialEq for ListContactsOutputBuilder
impl PartialEq for ListContactsOutputBuilder
source§fn eq(&self, other: &ListContactsOutputBuilder) -> bool
fn eq(&self, other: &ListContactsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListContactsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListContactsOutputBuilder
impl RefUnwindSafe for ListContactsOutputBuilder
impl Send for ListContactsOutputBuilder
impl Sync for ListContactsOutputBuilder
impl Unpin for ListContactsOutputBuilder
impl UnwindSafe for ListContactsOutputBuilder
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
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>
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>
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 more