#[non_exhaustive]pub struct SearchUsersInputBuilder { /* private fields */ }
Expand description
A builder for SearchUsersInput
.
Implementations§
source§impl SearchUsersInputBuilder
impl SearchUsersInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve 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
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return per page.
sourcepub fn search_filter(self, input: UserSearchFilter) -> Self
pub fn search_filter(self, input: UserSearchFilter) -> Self
Filters to be applied to search results.
sourcepub fn set_search_filter(self, input: Option<UserSearchFilter>) -> Self
pub fn set_search_filter(self, input: Option<UserSearchFilter>) -> Self
Filters to be applied to search results.
sourcepub fn search_criteria(self, input: UserSearchCriteria) -> Self
pub fn search_criteria(self, input: UserSearchCriteria) -> Self
The search criteria to be used to return users.
The name
and description
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
sourcepub fn set_search_criteria(self, input: Option<UserSearchCriteria>) -> Self
pub fn set_search_criteria(self, input: Option<UserSearchCriteria>) -> Self
The search criteria to be used to return users.
The name
and description
fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
sourcepub fn build(self) -> Result<SearchUsersInput, BuildError>
pub fn build(self) -> Result<SearchUsersInput, BuildError>
Consumes the builder and constructs a SearchUsersInput
.
Trait Implementations§
source§impl Clone for SearchUsersInputBuilder
impl Clone for SearchUsersInputBuilder
source§fn clone(&self) -> SearchUsersInputBuilder
fn clone(&self) -> SearchUsersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchUsersInputBuilder
impl Debug for SearchUsersInputBuilder
source§impl Default for SearchUsersInputBuilder
impl Default for SearchUsersInputBuilder
source§fn default() -> SearchUsersInputBuilder
fn default() -> SearchUsersInputBuilder
source§impl PartialEq<SearchUsersInputBuilder> for SearchUsersInputBuilder
impl PartialEq<SearchUsersInputBuilder> for SearchUsersInputBuilder
source§fn eq(&self, other: &SearchUsersInputBuilder) -> bool
fn eq(&self, other: &SearchUsersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.