Interface RuleBooleanExpression.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleBooleanExpression.Builder,RuleBooleanExpression>,SdkBuilder<RuleBooleanExpression.Builder,RuleBooleanExpression>,SdkPojo
- Enclosing class:
- RuleBooleanExpression
public static interface RuleBooleanExpression.Builder extends SdkPojo, CopyableBuilder<RuleBooleanExpression.Builder,RuleBooleanExpression>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleBooleanExpression.Builderevaluate(Consumer<RuleBooleanToEvaluate.Builder> evaluate)The operand on which to perform a boolean condition operation.RuleBooleanExpression.Builderevaluate(RuleBooleanToEvaluate evaluate)The operand on which to perform a boolean condition operation.RuleBooleanExpression.Builderoperator(String operator)The matching operator for a boolean condition expression.RuleBooleanExpression.Builderoperator(RuleBooleanOperator operator)The matching operator for a boolean condition expression.-
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
-
evaluate
RuleBooleanExpression.Builder evaluate(RuleBooleanToEvaluate evaluate)
The operand on which to perform a boolean condition operation.
- Parameters:
evaluate- The operand on which to perform a boolean condition operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluate
default RuleBooleanExpression.Builder evaluate(Consumer<RuleBooleanToEvaluate.Builder> evaluate)
The operand on which to perform a boolean condition operation.
This is a convenience method that creates an instance of theRuleBooleanToEvaluate.Builderavoiding the need to create one manually viaRuleBooleanToEvaluate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluate(RuleBooleanToEvaluate).- Parameters:
evaluate- a consumer that will call methods onRuleBooleanToEvaluate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
evaluate(RuleBooleanToEvaluate)
-
operator
RuleBooleanExpression.Builder operator(String operator)
The matching operator for a boolean condition expression.
- Parameters:
operator- The matching operator for a boolean condition expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleBooleanOperator,RuleBooleanOperator
-
operator
RuleBooleanExpression.Builder operator(RuleBooleanOperator operator)
The matching operator for a boolean condition expression.
- Parameters:
operator- The matching operator for a boolean condition expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleBooleanOperator,RuleBooleanOperator
-
-