Class CfnCaseRule.BooleanOperandsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cases.CfnCaseRule.BooleanOperandsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCaseRule.BooleanOperandsProperty>
- Enclosing interface:
CfnCaseRule.BooleanOperandsProperty
@Stability(Stable)
public static final class CfnCaseRule.BooleanOperandsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCaseRule.BooleanOperandsProperty>
A builder for
CfnCaseRule.BooleanOperandsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.operandOne(IResolvable operandOne) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandOne()operandOne(CfnCaseRule.OperandOneProperty operandOne) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandOne()operandTwo(IResolvable operandTwo) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandTwo()operandTwo(CfnCaseRule.OperandTwoProperty operandTwo) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandTwo()Sets the value ofCfnCaseRule.BooleanOperandsProperty.getResult()result(IResolvable result) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getResult()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
operandOne
@Stability(Stable) public CfnCaseRule.BooleanOperandsProperty.Builder operandOne(IResolvable operandOne) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandOne()- Parameters:
operandOne- Represents the left hand operand in the condition. This parameter is required.- Returns:
this
-
operandOne
@Stability(Stable) public CfnCaseRule.BooleanOperandsProperty.Builder operandOne(CfnCaseRule.OperandOneProperty operandOne) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandOne()- Parameters:
operandOne- Represents the left hand operand in the condition. This parameter is required.- Returns:
this
-
operandTwo
@Stability(Stable) public CfnCaseRule.BooleanOperandsProperty.Builder operandTwo(IResolvable operandTwo) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandTwo()- Parameters:
operandTwo- Represents the right hand operand in the condition. This parameter is required.- Returns:
this
-
operandTwo
@Stability(Stable) public CfnCaseRule.BooleanOperandsProperty.Builder operandTwo(CfnCaseRule.OperandTwoProperty operandTwo) Sets the value ofCfnCaseRule.BooleanOperandsProperty.getOperandTwo()- Parameters:
operandTwo- Represents the right hand operand in the condition. This parameter is required.- Returns:
this
-
result
Sets the value ofCfnCaseRule.BooleanOperandsProperty.getResult()- Parameters:
result- The value of the outer rule if the condition evaluates to true. This parameter is required.- Returns:
this
-
result
Sets the value ofCfnCaseRule.BooleanOperandsProperty.getResult()- Parameters:
result- The value of the outer rule if the condition evaluates to true. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCaseRule.BooleanOperandsProperty>- Returns:
- a new instance of
CfnCaseRule.BooleanOperandsProperty - Throws:
NullPointerException- if any required attribute was not provided
-