Interface CompoundCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CompoundCondition.Builder,,CompoundCondition> SdkBuilder<CompoundCondition.Builder,,CompoundCondition> SdkPojo
- Enclosing class:
CompoundCondition
@Mutable
@NotThreadSafe
public static interface CompoundCondition.Builder
extends SdkPojo, CopyableBuilder<CompoundCondition.Builder,CompoundCondition>
-
Method Summary
Modifier and TypeMethodDescriptionconditions(Collection<BooleanCondition> conditions) The list of conditions to combine using the logical operator.conditions(Consumer<BooleanCondition.Builder>... conditions) The list of conditions to combine using the logical operator.conditions(BooleanCondition... conditions) The list of conditions to combine using the logical operator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
conditions
The list of conditions to combine using the logical operator.
- Parameters:
conditions- The list of conditions to combine using the logical operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The list of conditions to combine using the logical operator.
- Parameters:
conditions- The list of conditions to combine using the logical operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The list of conditions to combine using the logical operator.
This is a convenience method that creates an instance of theBooleanCondition.Builderavoiding the need to create one manually viaBooleanCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<BooleanCondition>).- Parameters:
conditions- a consumer that will call methods onBooleanCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-