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