Interface CfnComponent.PredicateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponent.PredicateProperty.Jsii$Proxy
- Enclosing class:
CfnComponent
@Stability(Stable)
public static interface CfnComponent.PredicateProperty
extends software.amazon.jsii.JsiiSerializable
The
Predicate
property specifies information for generating Amplify DataStore queries.
Use Predicate
to retrieve a subset of the data in a collection.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.amplifyuibuilder.*; PredicateProperty predicateProperty_; PredicateProperty predicateProperty = PredicateProperty.builder() .and(List.of(PredicateProperty.builder() .and(List.of(predicateProperty_)) .field("field") .operand("operand") .operator("operator") .or(List.of(predicateProperty_)) .build())) .field("field") .operand("operand") .operator("operator") .or(List.of(PredicateProperty.builder() .and(List.of(predicateProperty_)) .field("field") .operand("operand") .operator("operator") .or(List.of(predicateProperty_)) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComponent.PredicateProperty
static final class
An implementation forCfnComponent.PredicateProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getAnd()
A list of predicates to combine logically.default String
getField()
The field to query.default String
The value to use when performing the evaluation.default String
The operator to use to perform the evaluation.default Object
getOr()
A list of predicates to combine logically.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAnd
A list of predicates to combine logically. -
getField
The field to query. -
getOperand
The value to use when performing the evaluation. -
getOperator
The operator to use to perform the evaluation. -
getOr
A list of predicates to combine logically. -
builder
-