Class CfnComponentPropsMixin.PredicateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnComponentPropsMixin.PredicateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentPropsMixin.PredicateProperty>
- Enclosing interface:
CfnComponentPropsMixin.PredicateProperty
@Stability(Stable)
public static final class CfnComponentPropsMixin.PredicateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentPropsMixin.PredicateProperty>
A builder for
CfnComponentPropsMixin.PredicateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnComponentPropsMixin.PredicateProperty.getAnd()and(IResolvable and) Sets the value ofCfnComponentPropsMixin.PredicateProperty.getAnd()build()Builds the configured instance.Sets the value ofCfnComponentPropsMixin.PredicateProperty.getField()Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOperand()operandType(String operandType) Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOperandType()Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOperator()Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOr()or(IResolvable or) Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOr()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
and
Sets the value ofCfnComponentPropsMixin.PredicateProperty.getAnd()- Parameters:
and- A list of predicates to combine logically.- Returns:
this
-
and
@Stability(Stable) public CfnComponentPropsMixin.PredicateProperty.Builder and(List<? extends Object> and) Sets the value ofCfnComponentPropsMixin.PredicateProperty.getAnd()- Parameters:
and- A list of predicates to combine logically.- Returns:
this
-
field
Sets the value ofCfnComponentPropsMixin.PredicateProperty.getField()- Parameters:
field- The field to query.- Returns:
this
-
operand
Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOperand()- Parameters:
operand- The value to use when performing the evaluation.- Returns:
this
-
operandType
@Stability(Stable) public CfnComponentPropsMixin.PredicateProperty.Builder operandType(String operandType) Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOperandType()- Parameters:
operandType- The type of value to use when performing the evaluation.- Returns:
this
-
operator
@Stability(Stable) public CfnComponentPropsMixin.PredicateProperty.Builder operator(String operator) Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOperator()- Parameters:
operator- The operator to use to perform the evaluation.- Returns:
this
-
or
Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOr()- Parameters:
or- A list of predicates to combine logically.- Returns:
this
-
or
@Stability(Stable) public CfnComponentPropsMixin.PredicateProperty.Builder or(List<? extends Object> or) Sets the value ofCfnComponentPropsMixin.PredicateProperty.getOr()- Parameters:
or- A list of predicates to combine logically.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentPropsMixin.PredicateProperty>- Returns:
- a new instance of
CfnComponentPropsMixin.PredicateProperty - Throws:
NullPointerException- if any required attribute was not provided
-