#[non_exhaustive]pub struct SearchContactsOutputBuilder { /* private fields */ }
Expand description
A builder for SearchContactsOutput
.
Implementations§
source§impl SearchContactsOutputBuilder
impl SearchContactsOutputBuilder
sourcepub fn contacts(self, input: ContactSearchSummary) -> Self
pub fn contacts(self, input: ContactSearchSummary) -> Self
Appends an item to contacts
.
To override the contents of this collection use set_contacts
.
Information about the contacts.
sourcepub fn set_contacts(self, input: Option<Vec<ContactSearchSummary>>) -> Self
pub fn set_contacts(self, input: Option<Vec<ContactSearchSummary>>) -> Self
Information about the contacts.
sourcepub fn get_contacts(&self) -> &Option<Vec<ContactSearchSummary>>
pub fn get_contacts(&self) -> &Option<Vec<ContactSearchSummary>>
Information about the contacts.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of contacts which matched your search query.
sourcepub fn set_total_count(self, input: Option<i64>) -> Self
pub fn set_total_count(self, input: Option<i64>) -> Self
The total number of contacts which matched your search query.
sourcepub fn get_total_count(&self) -> &Option<i64>
pub fn get_total_count(&self) -> &Option<i64>
The total number of contacts which matched your search query.
sourcepub fn build(self) -> Result<SearchContactsOutput, BuildError>
pub fn build(self) -> Result<SearchContactsOutput, BuildError>
Consumes the builder and constructs a SearchContactsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SearchContactsOutputBuilder
impl Clone for SearchContactsOutputBuilder
source§fn clone(&self) -> SearchContactsOutputBuilder
fn clone(&self) -> SearchContactsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchContactsOutputBuilder
impl Debug for SearchContactsOutputBuilder
source§impl Default for SearchContactsOutputBuilder
impl Default for SearchContactsOutputBuilder
source§fn default() -> SearchContactsOutputBuilder
fn default() -> SearchContactsOutputBuilder
source§impl PartialEq for SearchContactsOutputBuilder
impl PartialEq for SearchContactsOutputBuilder
source§fn eq(&self, other: &SearchContactsOutputBuilder) -> bool
fn eq(&self, other: &SearchContactsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.