#[non_exhaustive]pub struct SearchUsersOutputBuilder { /* private fields */ }
Expand description
A builder for SearchUsersOutput
.
Implementations§
source§impl SearchUsersOutputBuilder
impl SearchUsersOutputBuilder
sourcepub fn users(self, input: UserSearchSummary) -> Self
pub fn users(self, input: UserSearchSummary) -> Self
Appends an item to users
.
To override the contents of this collection use set_users
.
Information about the users.
sourcepub fn set_users(self, input: Option<Vec<UserSearchSummary>>) -> Self
pub fn set_users(self, input: Option<Vec<UserSearchSummary>>) -> Self
Information about the users.
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 approximate_total_count(self, input: i64) -> Self
pub fn approximate_total_count(self, input: i64) -> Self
The total number of users who matched your search query.
sourcepub fn set_approximate_total_count(self, input: Option<i64>) -> Self
pub fn set_approximate_total_count(self, input: Option<i64>) -> Self
The total number of users who matched your search query.
sourcepub fn build(self) -> SearchUsersOutput
pub fn build(self) -> SearchUsersOutput
Consumes the builder and constructs a SearchUsersOutput
.
Trait Implementations§
source§impl Clone for SearchUsersOutputBuilder
impl Clone for SearchUsersOutputBuilder
source§fn clone(&self) -> SearchUsersOutputBuilder
fn clone(&self) -> SearchUsersOutputBuilder
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 SearchUsersOutputBuilder
impl Debug for SearchUsersOutputBuilder
source§impl Default for SearchUsersOutputBuilder
impl Default for SearchUsersOutputBuilder
source§fn default() -> SearchUsersOutputBuilder
fn default() -> SearchUsersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SearchUsersOutputBuilder> for SearchUsersOutputBuilder
impl PartialEq<SearchUsersOutputBuilder> for SearchUsersOutputBuilder
source§fn eq(&self, other: &SearchUsersOutputBuilder) -> bool
fn eq(&self, other: &SearchUsersOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.