Interface CfnComponent.ComponentDataConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponent.ComponentDataConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnComponent
@Stability(Stable)
public static interface CfnComponent.ComponentDataConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The
ComponentDataConfiguration
property specifies the configuration for binding a component's properties to data.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComponent.ComponentDataConfigurationProperty
static final class
An implementation forCfnComponent.ComponentDataConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of IDs to use to bind data to a component.getModel()
The name of the data model to use to bind data to a component.default Object
Represents the conditional logic to use when binding data to a component.default Object
getSort()
Describes how to sort the component's properties.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getModel
The name of the data model to use to bind data to a component. -
getIdentifiers
A list of IDs to use to bind data to a component.Use this property to bind specifically chosen data, rather than data retrieved from a query.
-
getPredicate
Represents the conditional logic to use when binding data to a component.Use this property to retrieve only a subset of the data in a collection.
-
getSort
Describes how to sort the component's properties. -
builder
-