@Stability(value=Stable)
public static interface CfnComponent.ComponentBindingPropertiesValueProperty
extends software.amazon.jsii.JsiiSerializable
You can use ComponentBindingPropertiesValue to add exposed properties to a component to allow different values to be entered when a component is reused in different places in an app.
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_;
ComponentBindingPropertiesValueProperty componentBindingPropertiesValueProperty = ComponentBindingPropertiesValueProperty.builder()
.bindingProperties(ComponentBindingPropertiesValuePropertiesProperty.builder()
.bucket("bucket")
.defaultValue("defaultValue")
.field("field")
.key("key")
.model("model")
.predicates(List.of(PredicateProperty.builder()
.and(List.of(predicateProperty_))
.field("field")
.operand("operand")
.operator("operator")
.or(List.of(predicateProperty_))
.build()))
.userAttribute("userAttribute")
.build())
.defaultValue("defaultValue")
.type("type")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponent.ComponentBindingPropertiesValueProperty.Builder
A builder for
CfnComponent.ComponentBindingPropertiesValueProperty |
static class |
CfnComponent.ComponentBindingPropertiesValueProperty.Jsii$Proxy
An implementation for
CfnComponent.ComponentBindingPropertiesValueProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponent.ComponentBindingPropertiesValueProperty.Builder |
builder() |
default Object |
getBindingProperties()
Describes the properties to customize with data at runtime.
|
default String |
getDefaultValue()
The default value of the property.
|
default String |
getType()
The property type.
|
@Stability(value=Stable) @Nullable default Object getBindingProperties()
@Stability(value=Stable) @Nullable default String getDefaultValue()
@Stability(value=Stable) @Nullable default String getType()
@Stability(value=Stable) static CfnComponent.ComponentBindingPropertiesValueProperty.Builder builder()
Copyright © 2022. All rights reserved.