#[non_exhaustive]pub struct ListContactsOutputBuilder { /* private fields */ }
Expand description
A builder for ListContactsOutput
.
Implementations§
source§impl ListContactsOutputBuilder
impl ListContactsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Next token returned in the response of a previous ListContacts
call. Used to get 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
Next token returned in the response of a previous ListContacts
call. Used to get the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Next token returned in the response of a previous ListContacts
call. Used to get the next page of results.
sourcepub fn contact_list(self, input: ContactData) -> Self
pub fn contact_list(self, input: ContactData) -> Self
Appends an item to contact_list
.
To override the contents of this collection use set_contact_list
.
List of contacts.
sourcepub fn set_contact_list(self, input: Option<Vec<ContactData>>) -> Self
pub fn set_contact_list(self, input: Option<Vec<ContactData>>) -> Self
List of contacts.
sourcepub fn get_contact_list(&self) -> &Option<Vec<ContactData>>
pub fn get_contact_list(&self) -> &Option<Vec<ContactData>>
List 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
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 ListContactsOutputBuilder
impl Debug for ListContactsOutputBuilder
source§impl Default for ListContactsOutputBuilder
impl Default for ListContactsOutputBuilder
source§fn default() -> ListContactsOutputBuilder
fn default() -> ListContactsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListContactsOutputBuilder
impl PartialEq for ListContactsOutputBuilder
source§fn eq(&self, other: &ListContactsOutputBuilder) -> bool
fn eq(&self, other: &ListContactsOutputBuilder) -> bool
This method tests for
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
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.