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_)) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .or(List.of(predicateProperty_)) .build();
- See Also:
-
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 type of 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.- See Also:
-
getField
The field to query.- See Also:
-
getOperand
The value to use when performing the evaluation.- See Also:
-
getOperandType
The type of value to use when performing the evaluation.- See Also:
-
getOperator
The operator to use to perform the evaluation.- See Also:
-
getOr
A list of predicates to combine logically.- See Also:
-
builder
-