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