Struct aws_sdk_connect::types::builders::UserSearchCriteriaBuilder
source · #[non_exhaustive]pub struct UserSearchCriteriaBuilder { /* private fields */ }
Expand description
A builder for UserSearchCriteria
.
Implementations§
source§impl UserSearchCriteriaBuilder
impl UserSearchCriteriaBuilder
sourcepub fn or_conditions(self, input: UserSearchCriteria) -> Self
pub fn or_conditions(self, input: UserSearchCriteria) -> Self
Appends an item to or_conditions
.
To override the contents of this collection use set_or_conditions
.
A list of conditions which would be applied together with an OR
condition.
sourcepub fn set_or_conditions(self, input: Option<Vec<UserSearchCriteria>>) -> Self
pub fn set_or_conditions(self, input: Option<Vec<UserSearchCriteria>>) -> Self
A list of conditions which would be applied together with an OR
condition.
sourcepub fn get_or_conditions(&self) -> &Option<Vec<UserSearchCriteria>>
pub fn get_or_conditions(&self) -> &Option<Vec<UserSearchCriteria>>
A list of conditions which would be applied together with an OR
condition.
sourcepub fn and_conditions(self, input: UserSearchCriteria) -> Self
pub fn and_conditions(self, input: UserSearchCriteria) -> Self
Appends an item to and_conditions
.
To override the contents of this collection use set_and_conditions
.
A list of conditions which would be applied together with an AND
condition.
sourcepub fn set_and_conditions(self, input: Option<Vec<UserSearchCriteria>>) -> Self
pub fn set_and_conditions(self, input: Option<Vec<UserSearchCriteria>>) -> Self
A list of conditions which would be applied together with an AND
condition.
sourcepub fn get_and_conditions(&self) -> &Option<Vec<UserSearchCriteria>>
pub fn get_and_conditions(&self) -> &Option<Vec<UserSearchCriteria>>
A list of conditions which would be applied together with an AND
condition.
sourcepub fn string_condition(self, input: StringCondition) -> Self
pub fn string_condition(self, input: StringCondition) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
, FirstName
, LastName
, RoutingProfileId
, SecurityProfileId
, ResourceId
.
sourcepub fn set_string_condition(self, input: Option<StringCondition>) -> Self
pub fn set_string_condition(self, input: Option<StringCondition>) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
, FirstName
, LastName
, RoutingProfileId
, SecurityProfileId
, ResourceId
.
sourcepub fn get_string_condition(&self) -> &Option<StringCondition>
pub fn get_string_condition(&self) -> &Option<StringCondition>
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are Username
, FirstName
, LastName
, RoutingProfileId
, SecurityProfileId
, ResourceId
.
sourcepub fn hierarchy_group_condition(self, input: HierarchyGroupCondition) -> Self
pub fn hierarchy_group_condition(self, input: HierarchyGroupCondition) -> Self
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn set_hierarchy_group_condition(
self,
input: Option<HierarchyGroupCondition>
) -> Self
pub fn set_hierarchy_group_condition( self, input: Option<HierarchyGroupCondition> ) -> Self
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn get_hierarchy_group_condition(&self) -> &Option<HierarchyGroupCondition>
pub fn get_hierarchy_group_condition(&self) -> &Option<HierarchyGroupCondition>
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn build(self) -> UserSearchCriteria
pub fn build(self) -> UserSearchCriteria
Consumes the builder and constructs a UserSearchCriteria
.
Trait Implementations§
source§impl Clone for UserSearchCriteriaBuilder
impl Clone for UserSearchCriteriaBuilder
source§fn clone(&self) -> UserSearchCriteriaBuilder
fn clone(&self) -> UserSearchCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserSearchCriteriaBuilder
impl Debug for UserSearchCriteriaBuilder
source§impl Default for UserSearchCriteriaBuilder
impl Default for UserSearchCriteriaBuilder
source§fn default() -> UserSearchCriteriaBuilder
fn default() -> UserSearchCriteriaBuilder
source§impl PartialEq for UserSearchCriteriaBuilder
impl PartialEq for UserSearchCriteriaBuilder
source§fn eq(&self, other: &UserSearchCriteriaBuilder) -> bool
fn eq(&self, other: &UserSearchCriteriaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.