Interface BooleanCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BooleanCondition.Builder,,BooleanCondition> SdkBuilder<BooleanCondition.Builder,,BooleanCondition> SdkPojo
- Enclosing class:
BooleanCondition
-
Method Summary
Modifier and TypeMethodDescriptiondefault BooleanCondition.BuilderandAll(Consumer<CompoundCondition.Builder> andAll) Combines multiple conditions with AND operator.andAll(CompoundCondition andAll) Combines multiple conditions with AND operator.default BooleanCondition.BuilderequalTo(Consumer<BooleanOperands.Builder> equalTo) Tests that operandOne is equal to operandTwo.equalTo(BooleanOperands equalTo) Tests that operandOne is equal to operandTwo.default BooleanCondition.BuildernotEqualTo(Consumer<BooleanOperands.Builder> notEqualTo) Tests that operandOne is not equal to operandTwo.notEqualTo(BooleanOperands notEqualTo) Tests that operandOne is not equal to operandTwo.default BooleanCondition.BuilderorAll(Consumer<CompoundCondition.Builder> orAll) Combines multiple conditions with OR operator.orAll(CompoundCondition orAll) Combines multiple conditions with OR 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
-
equalTo
Tests that operandOne is equal to operandTwo.
- Parameters:
equalTo- Tests that operandOne is equal to operandTwo.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equalTo
Tests that operandOne is equal to operandTwo.
This is a convenience method that creates an instance of theBooleanOperands.Builderavoiding the need to create one manually viaBooleanOperands.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toequalTo(BooleanOperands).- Parameters:
equalTo- a consumer that will call methods onBooleanOperands.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notEqualTo
Tests that operandOne is not equal to operandTwo.
- Parameters:
notEqualTo- Tests that operandOne is not equal to operandTwo.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notEqualTo
Tests that operandOne is not equal to operandTwo.
This is a convenience method that creates an instance of theBooleanOperands.Builderavoiding the need to create one manually viaBooleanOperands.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotEqualTo(BooleanOperands).- Parameters:
notEqualTo- a consumer that will call methods onBooleanOperands.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
andAll
Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.
- Parameters:
andAll- Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andAll
Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.
This is a convenience method that creates an instance of theCompoundCondition.Builderavoiding the need to create one manually viaCompoundCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toandAll(CompoundCondition).- Parameters:
andAll- a consumer that will call methods onCompoundCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orAll
Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.
- Parameters:
orAll- Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orAll
Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.
This is a convenience method that creates an instance of theCompoundCondition.Builderavoiding the need to create one manually viaCompoundCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorAll(CompoundCondition).- Parameters:
orAll- a consumer that will call methods onCompoundCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-