Interface UserSearchFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserSearchFilter.Builder,UserSearchFilter>,SdkBuilder<UserSearchFilter.Builder,UserSearchFilter>,SdkPojo
- Enclosing class:
- UserSearchFilter
public static interface UserSearchFilter.Builder extends SdkPojo, CopyableBuilder<UserSearchFilter.Builder,UserSearchFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UserSearchFilter.BuildertagFilter(Consumer<ControlPlaneTagFilter.Builder> tagFilter)Sets the value of the TagFilter property for this object.UserSearchFilter.BuildertagFilter(ControlPlaneTagFilter tagFilter)Sets the value of the TagFilter property for this object.default UserSearchFilter.BuilderuserAttributeFilter(Consumer<ControlPlaneUserAttributeFilter.Builder> userAttributeFilter)An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.UserSearchFilter.BuilderuserAttributeFilter(ControlPlaneUserAttributeFilter userAttributeFilter)An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
tagFilter
UserSearchFilter.Builder tagFilter(ControlPlaneTagFilter tagFilter)
Sets the value of the TagFilter property for this object.- Parameters:
tagFilter- The new value for the TagFilter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilter
default UserSearchFilter.Builder tagFilter(Consumer<ControlPlaneTagFilter.Builder> tagFilter)
Sets the value of the TagFilter property for this object. This is a convenience method that creates an instance of theControlPlaneTagFilter.Builderavoiding the need to create one manually viaControlPlaneTagFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagFilter(ControlPlaneTagFilter).- Parameters:
tagFilter- a consumer that will call methods onControlPlaneTagFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tagFilter(ControlPlaneTagFilter)
-
userAttributeFilter
UserSearchFilter.Builder userAttributeFilter(ControlPlaneUserAttributeFilter userAttributeFilter)
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an
ORofAND(List of List) input where:-
The top level list specifies conditions that need to be applied with
ORoperator. -
The inner list specifies conditions that need to be applied with
ANDoperator.
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.
- Parameters:
userAttributeFilter- An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.This accepts an
ORofAND(List of List) input where:-
The top level list specifies conditions that need to be applied with
ORoperator. -
The inner list specifies conditions that need to be applied with
ANDoperator.
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
userAttributeFilter
default UserSearchFilter.Builder userAttributeFilter(Consumer<ControlPlaneUserAttributeFilter.Builder> userAttributeFilter)
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the SearchFilter.
This accepts an
ORofAND(List of List) input where:-
The top level list specifies conditions that need to be applied with
ORoperator. -
The inner list specifies conditions that need to be applied with
ANDoperator.
This is a convenience method that creates an instance of theOnly 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.
ControlPlaneUserAttributeFilter.Builderavoiding the need to create one manually viaControlPlaneUserAttributeFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserAttributeFilter(ControlPlaneUserAttributeFilter).- Parameters:
userAttributeFilter- a consumer that will call methods onControlPlaneUserAttributeFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userAttributeFilter(ControlPlaneUserAttributeFilter)
-
-
-