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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCondition.Builderconditions(Collection<Condition> conditions)A list of Condition objects which would be applied together with an AND condition.ListCondition.Builderconditions(Consumer<Condition.Builder>... conditions)A list of Condition objects which would be applied together with an AND condition.ListCondition.Builderconditions(Condition... conditions)A list of Condition objects which would be applied together with an AND condition.ListCondition.BuildertargetListType(String targetListType)The type of target list that will be used to filter the users.ListCondition.BuildertargetListType(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 Detail
-
targetListType
ListCondition.Builder targetListType(String 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,TargetListType
-
targetListType
ListCondition.Builder targetListType(TargetListType 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,TargetListType
-
conditions
ListCondition.Builder conditions(Collection<Condition> 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
ListCondition.Builder conditions(Condition... 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
ListCondition.Builder conditions(Consumer<Condition.Builder>... 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.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conditions(List.) - 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:
#conditions(java.util.Collection)
-
-