@Stability(value=Stable)
public static interface CfnComponent.PredicateProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponent.PredicateProperty.Builder
A builder for
CfnComponent.PredicateProperty |
static class |
CfnComponent.PredicateProperty.Jsii$Proxy
An implementation for
CfnComponent.PredicateProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponent.PredicateProperty.Builder |
builder() |
default Object |
getAnd()
A list of predicates to combine logically.
|
default String |
getField()
The field to query.
|
default String |
getOperand()
The value to use when performing the evaluation.
|
default String |
getOperator()
The operator to use to perform the evaluation.
|
default Object |
getOr()
A list of predicates to combine logically.
|
@Stability(value=Stable) @Nullable default Object getAnd()
@Stability(value=Stable) @Nullable default String getField()
@Stability(value=Stable) @Nullable default String getOperand()
@Stability(value=Stable) @Nullable default String getOperator()
@Stability(value=Stable) @Nullable default Object getOr()
@Stability(value=Stable) static CfnComponent.PredicateProperty.Builder builder()
Copyright © 2022. All rights reserved.