Interface ListCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListCondition.Builder,
,ListCondition> SdkBuilder<ListCondition.Builder,
,ListCondition> SdkPojo
- Enclosing class:
ListCondition
public static interface ListCondition.Builder
extends SdkPojo, CopyableBuilder<ListCondition.Builder,ListCondition>
-
Method Summary
Modifier and TypeMethodDescriptionconditions
(Collection<Condition> conditions) A list of Condition objects which would be applied together with an AND condition.conditions
(Consumer<Condition.Builder>... conditions) A list of Condition objects which would be applied together with an AND condition.conditions
(Condition... conditions) A list of Condition objects which would be applied together with an AND condition.targetListType
(String targetListType) The type of target list that will be used to filter the users.targetListType
(TargetListType targetListType) The type of target list that will be used to filter the users.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 Details
-
targetListType
The type of target list that will be used to filter the users.
- Parameters:
targetListType
- The type of target list that will be used to filter the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetListType
The type of target list that will be used to filter the users.
- Parameters:
targetListType
- The type of target list that will be used to filter the users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
A list of Condition objects which would be applied together with an AND condition.
- Parameters:
conditions
- A list of Condition objects which would be applied together with an AND condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
A list of Condition objects which would be applied together with an AND condition.
- Parameters:
conditions
- A list of Condition objects which would be applied together with an AND condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
A list of Condition objects which would be applied together with an AND condition.
This is a convenience method that creates an instance of theCondition.Builder
avoiding the need to create one manually viaCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditions(List<Condition>)
.- Parameters:
conditions
- a consumer that will call methods onCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-