Struct aws_sdk_connect::types::builders::UserSearchFilterBuilder
source · #[non_exhaustive]pub struct UserSearchFilterBuilder { /* private fields */ }
Expand description
A builder for UserSearchFilter
.
Implementations§
source§impl UserSearchFilterBuilder
impl UserSearchFilterBuilder
sourcepub fn tag_filter(self, input: ControlPlaneTagFilter) -> Self
pub fn tag_filter(self, input: ControlPlaneTagFilter) -> Self
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
sourcepub fn set_tag_filter(self, input: Option<ControlPlaneTagFilter>) -> Self
pub fn set_tag_filter(self, input: Option<ControlPlaneTagFilter>) -> Self
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
sourcepub fn get_tag_filter(&self) -> &Option<ControlPlaneTagFilter>
pub fn get_tag_filter(&self) -> &Option<ControlPlaneTagFilter>
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
sourcepub fn user_attribute_filter(
self,
input: ControlPlaneUserAttributeFilter
) -> Self
pub fn user_attribute_filter( self, input: ControlPlaneUserAttributeFilter ) -> Self
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an OR
of AND
(List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
Only one field can be populated. This object can’t be used along with TagFilter. Request can either contain TagFilter or UserAttributeFilter if SearchFilter is specified, combination of both is not supported and such request will throw AccessDeniedException.
sourcepub fn set_user_attribute_filter(
self,
input: Option<ControlPlaneUserAttributeFilter>
) -> Self
pub fn set_user_attribute_filter( self, input: Option<ControlPlaneUserAttributeFilter> ) -> Self
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an OR
of AND
(List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
Only one field can be populated. This object can’t be used along with TagFilter. Request can either contain TagFilter or UserAttributeFilter if SearchFilter is specified, combination of both is not supported and such request will throw AccessDeniedException.
sourcepub fn get_user_attribute_filter(
&self
) -> &Option<ControlPlaneUserAttributeFilter>
pub fn get_user_attribute_filter( &self ) -> &Option<ControlPlaneUserAttributeFilter>
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an OR
of AND
(List of List) input where:
-
The top level list specifies conditions that need to be applied with
OR
operator. -
The inner list specifies conditions that need to be applied with
AND
operator.
Only one field can be populated. This object can’t be used along with TagFilter. Request can either contain TagFilter or UserAttributeFilter if SearchFilter is specified, combination of both is not supported and such request will throw AccessDeniedException.
sourcepub fn build(self) -> UserSearchFilter
pub fn build(self) -> UserSearchFilter
Consumes the builder and constructs a UserSearchFilter
.
Trait Implementations§
source§impl Clone for UserSearchFilterBuilder
impl Clone for UserSearchFilterBuilder
source§fn clone(&self) -> UserSearchFilterBuilder
fn clone(&self) -> UserSearchFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserSearchFilterBuilder
impl Debug for UserSearchFilterBuilder
source§impl Default for UserSearchFilterBuilder
impl Default for UserSearchFilterBuilder
source§fn default() -> UserSearchFilterBuilder
fn default() -> UserSearchFilterBuilder
source§impl PartialEq for UserSearchFilterBuilder
impl PartialEq for UserSearchFilterBuilder
source§fn eq(&self, other: &UserSearchFilterBuilder) -> bool
fn eq(&self, other: &UserSearchFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.