@Stability(value=Stable)
public static interface CfnComponent.ComponentDataConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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_;
ComponentDataConfigurationProperty componentDataConfigurationProperty = ComponentDataConfigurationProperty.builder()
.model("model")
// the properties below are optional
.identifiers(List.of("identifiers"))
.predicate(PredicateProperty.builder()
.and(List.of(predicateProperty_))
.field("field")
.operand("operand")
.operator("operator")
.or(List.of(predicateProperty_))
.build())
.sort(List.of(SortPropertyProperty.builder()
.direction("direction")
.field("field")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponent.ComponentDataConfigurationProperty.Builder
A builder for
CfnComponent.ComponentDataConfigurationProperty |
static class |
CfnComponent.ComponentDataConfigurationProperty.Jsii$Proxy
An implementation for
CfnComponent.ComponentDataConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponent.ComponentDataConfigurationProperty.Builder |
builder() |
default List<String> |
getIdentifiers()
A list of IDs to use to bind data to a component.
|
String |
getModel()
The name of the data model to use to bind data to a component.
|
default Object |
getPredicate()
Represents the conditional logic to use when binding data to a component.
|
default Object |
getSort()
Describes how to sort the component's properties.
|
@Stability(value=Stable) @NotNull String getModel()
@Stability(value=Stable) @Nullable default List<String> getIdentifiers()
Use this property to bind specifically chosen data, rather than data retrieved from a query.
@Stability(value=Stable) @Nullable default Object getPredicate()
Use this property to retrieve only a subset of the data in a collection.
@Stability(value=Stable) @Nullable default Object getSort()
@Stability(value=Stable) static CfnComponent.ComponentDataConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.