@Stability(value=Stable)
public static interface CfnComponent.ComponentPropertyProperty
extends software.amazon.jsii.JsiiSerializable
Use ComponentProperty to specify the values to render or bind by default.
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.*;
Object bindings;
ComponentConditionPropertyProperty componentConditionPropertyProperty_;
ComponentPropertyProperty componentPropertyProperty_;
ComponentPropertyProperty componentPropertyProperty = ComponentPropertyProperty.builder()
.bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.bindings(bindings)
.collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.componentName("componentName")
.concat(List.of(ComponentPropertyProperty.builder()
.bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.bindings(bindings)
.collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.componentName("componentName")
.concat(List.of(componentPropertyProperty_))
.condition(ComponentConditionPropertyProperty.builder()
.else(componentPropertyProperty_)
.field("field")
.operand("operand")
.operandType("operandType")
.operator("operator")
.property("property")
.then(componentPropertyProperty_)
.build())
.configured(false)
.defaultValue("defaultValue")
.event("event")
.importedValue("importedValue")
.model("model")
.property("property")
.type("type")
.userAttribute("userAttribute")
.value("value")
.build()))
.condition(ComponentConditionPropertyProperty.builder()
.else(ComponentPropertyProperty.builder()
.bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.bindings(bindings)
.collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.componentName("componentName")
.concat(List.of(componentPropertyProperty_))
.condition(componentConditionPropertyProperty_)
.configured(false)
.defaultValue("defaultValue")
.event("event")
.importedValue("importedValue")
.model("model")
.property("property")
.type("type")
.userAttribute("userAttribute")
.value("value")
.build())
.field("field")
.operand("operand")
.operandType("operandType")
.operator("operator")
.property("property")
.then(ComponentPropertyProperty.builder()
.bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.bindings(bindings)
.collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.componentName("componentName")
.concat(List.of(componentPropertyProperty_))
.condition(componentConditionPropertyProperty_)
.configured(false)
.defaultValue("defaultValue")
.event("event")
.importedValue("importedValue")
.model("model")
.property("property")
.type("type")
.userAttribute("userAttribute")
.value("value")
.build())
.build())
.configured(false)
.defaultValue("defaultValue")
.event("event")
.importedValue("importedValue")
.model("model")
.property("property")
.type("type")
.userAttribute("userAttribute")
.value("value")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponent.ComponentPropertyProperty.Builder
A builder for
CfnComponent.ComponentPropertyProperty |
static class |
CfnComponent.ComponentPropertyProperty.Jsii$Proxy
An implementation for
CfnComponent.ComponentPropertyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponent.ComponentPropertyProperty.Builder |
builder() |
default Object |
getBindingProperties()
The information to bind the component property to data at runtime.
|
default Object |
getBindings()
The information to bind the component property to form data.
|
default Object |
getCollectionBindingProperties()
The information to bind the component property to data at runtime.
|
default String |
getComponentName()
The name of the component that is affected by an event.
|
default Object |
getConcat()
A list of component properties to concatenate to create the value to assign to this component property.
|
default Object |
getCondition()
The conditional expression to use to assign a value to the component property.
|
default Object |
getConfigured()
Specifies whether the user configured the property in Amplify Studio after importing it.
|
default String |
getDefaultValue()
The default value to assign to the component property.
|
default String |
getEvent()
An event that occurs in your app.
|
default String |
getImportedValue()
The default value assigned to the property when the component is imported into an app.
|
default String |
getModel()
The data model to use to assign a value to the component property.
|
default String |
getProperty()
The name of the component's property that is affected by an event.
|
default String |
getType()
The component type.
|
default String |
getUserAttribute()
An authenticated user attribute to use to assign a value to the component property.
|
default String |
getValue()
The value to assign to the component property.
|
@Stability(value=Stable) @Nullable default Object getBindingProperties()
@Stability(value=Stable) @Nullable default Object getBindings()
@Stability(value=Stable) @Nullable default Object getCollectionBindingProperties()
Use this for collection components.
@Stability(value=Stable) @Nullable default String getComponentName()
@Stability(value=Stable) @Nullable default Object getConcat()
@Stability(value=Stable) @Nullable default Object getCondition()
@Stability(value=Stable) @Nullable default Object getConfigured()
@Stability(value=Stable) @Nullable default String getDefaultValue()
@Stability(value=Stable) @Nullable default String getEvent()
Use this for workflow data binding.
@Stability(value=Stable) @Nullable default String getImportedValue()
@Stability(value=Stable) @Nullable default String getModel()
@Stability(value=Stable) @Nullable default String getProperty()
@Stability(value=Stable) @Nullable default String getType()
@Stability(value=Stable) @Nullable default String getUserAttribute()
@Stability(value=Stable) @Nullable default String getValue()
@Stability(value=Stable) static CfnComponent.ComponentPropertyProperty.Builder builder()
Copyright © 2022. All rights reserved.