Interface BooleanOperands.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BooleanOperands.Builder,,BooleanOperands> SdkBuilder<BooleanOperands.Builder,,BooleanOperands> SdkPojo
- Enclosing class:
BooleanOperands
@Mutable
@NotThreadSafe
public static interface BooleanOperands.Builder
extends SdkPojo, CopyableBuilder<BooleanOperands.Builder,BooleanOperands>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BooleanOperands.BuilderoperandOne(Consumer<OperandOne.Builder> operandOne) Represents the left hand operand in the condition.operandOne(OperandOne operandOne) Represents the left hand operand in the condition.default BooleanOperands.BuilderoperandTwo(Consumer<OperandTwo.Builder> operandTwo) Represents the right hand operand in the condition.operandTwo(OperandTwo operandTwo) Represents the right hand operand in the condition.The value of the outer rule if the condition evaluates to true.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
-
operandOne
Represents the left hand operand in the condition.
- Parameters:
operandOne- Represents the left hand operand in the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operandOne
Represents the left hand operand in the condition.
This is a convenience method that creates an instance of theOperandOne.Builderavoiding the need to create one manually viaOperandOne.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperandOne(OperandOne).- Parameters:
operandOne- a consumer that will call methods onOperandOne.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operandTwo
Represents the right hand operand in the condition.
- Parameters:
operandTwo- Represents the right hand operand in the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operandTwo
Represents the right hand operand in the condition.
This is a convenience method that creates an instance of theOperandTwo.Builderavoiding the need to create one manually viaOperandTwo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperandTwo(OperandTwo).- Parameters:
operandTwo- a consumer that will call methods onOperandTwo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The value of the outer rule if the condition evaluates to true.
- Parameters:
result- The value of the outer rule if the condition evaluates to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-