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 list_condition(self, input: ListCondition) -> Self
pub fn list_condition(self, input: ListCondition) -> Self
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
sourcepub fn set_list_condition(self, input: Option<ListCondition>) -> Self
pub fn set_list_condition(self, input: Option<ListCondition>) -> Self
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
sourcepub fn get_list_condition(&self) -> &Option<ListCondition>
pub fn get_list_condition(&self) -> &Option<ListCondition>
A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.
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
impl StructuralPartialEq for UserSearchCriteriaBuilder
Auto Trait Implementations§
impl Freeze for UserSearchCriteriaBuilder
impl RefUnwindSafe for UserSearchCriteriaBuilder
impl Send for UserSearchCriteriaBuilder
impl Sync for UserSearchCriteriaBuilder
impl Unpin for UserSearchCriteriaBuilder
impl UnwindSafe for UserSearchCriteriaBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more