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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComponent.PredicatePropertystatic final classAn implementation forCfnComponent.PredicateProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetAnd()A list of predicates to combine logically.default StringgetField()The field to query.default StringThe value to use when performing the evaluation.default StringThe type of value to use when performing the evaluation.default StringThe operator to use to perform the evaluation.default ObjectgetOr()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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComponent.PredicateProperty>- 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComponent.PredicateProperty>- See Also:
-
builder
-