Interface BooleanOperands.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BooleanOperands.Builder,BooleanOperands>,SdkBuilder<BooleanOperands.Builder,BooleanOperands>,SdkPojo
- Enclosing class:
- BooleanOperands
public static interface BooleanOperands.Builder extends SdkPojo, CopyableBuilder<BooleanOperands.Builder,BooleanOperands>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BooleanOperands.BuilderoperandOne(Consumer<OperandOne.Builder> operandOne)Represents the left hand operand in the condition.BooleanOperands.BuilderoperandOne(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.BooleanOperands.BuilderoperandTwo(OperandTwo operandTwo)Represents the right hand operand in the condition.BooleanOperands.Builderresult(Boolean result)The value of the outer rule if the condition evaluates to true.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
operandOne
BooleanOperands.Builder operandOne(OperandOne 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
default BooleanOperands.Builder operandOne(Consumer<OperandOne.Builder> 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:
operandOne(OperandOne)
-
operandTwo
BooleanOperands.Builder operandTwo(OperandTwo 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
default BooleanOperands.Builder operandTwo(Consumer<OperandTwo.Builder> 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:
operandTwo(OperandTwo)
-
result
BooleanOperands.Builder result(Boolean 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.
-
-