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")
.operandType("operandType")
.operator("operator")
.or(List.of(predicateProperty_))
.build())
.sort(List.of(SortPropertyProperty.builder()
.direction("direction")
.field("field")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComponent.ComponentDataConfigurationPropertystatic final classAn 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 ObjectRepresents the conditional logic to use when binding data to a component.default ObjectgetSort()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.- See Also:
-
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.
- See Also:
-
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.
Returns union: either
IResolvableorCfnComponent.PredicateProperty- See Also:
-
getSort
Describes how to sort the component's properties.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComponent.SortPropertyProperty>- See Also:
-
builder
-