Interface CfnComponent.ComponentPropertyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponent.ComponentPropertyProperty.Jsii$Proxy
- Enclosing class:
- CfnComponent
@Stability(Stable)
public static interface CfnComponent.ComponentPropertyProperty
extends software.amazon.jsii.JsiiSerializable
The
ComponentProperty property specifies the configuration for all of a component's properties.
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.*;
ComponentConditionPropertyProperty componentConditionPropertyProperty_;
ComponentPropertyProperty componentPropertyProperty_;
ComponentPropertyProperty componentPropertyProperty = ComponentPropertyProperty.builder()
.bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.bindings(Map.of(
"bindingsKey", FormBindingElementProperty.builder()
.element("element")
.property("property")
.build()))
.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(Map.of(
"bindingsKey", FormBindingElementProperty.builder()
.element("element")
.property("property")
.build()))
.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(Map.of(
"bindingsKey", FormBindingElementProperty.builder()
.element("element")
.property("property")
.build()))
.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(Map.of(
"bindingsKey", FormBindingElementProperty.builder()
.element("element")
.property("property")
.build()))
.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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComponent.ComponentPropertyPropertystatic final classAn implementation forCfnComponent.ComponentPropertyProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe information to bind the component property to data at runtime.default ObjectThe information to bind the component property to form data.default ObjectThe information to bind the component property to data at runtime.default StringThe name of the component that is affected by an event.default ObjectA list of component properties to concatenate to create the value to assign to this component property.default ObjectThe conditional expression to use to assign a value to the component property.default ObjectSpecifies whether the user configured the property in Amplify Studio after importing it.default StringThe default value to assign to the component property.default StringgetEvent()An event that occurs in your app.default StringThe default value assigned to the property when the component is imported into an app.default StringgetModel()The data model to use to assign a value to the component property.default StringThe name of the component's property that is affected by an event.default StringgetType()The component type.default StringAn authenticated user attribute to use to assign a value to the component property.default StringgetValue()The value to assign to the component property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBindingProperties
The information to bind the component property to data at runtime. -
getBindings
The information to bind the component property to form data. -
getCollectionBindingProperties
The information to bind the component property to data at runtime.Use this for collection components.
-
getComponentName
The name of the component that is affected by an event. -
getConcat
A list of component properties to concatenate to create the value to assign to this component property. -
getCondition
The conditional expression to use to assign a value to the component property. -
getConfigured
Specifies whether the user configured the property in Amplify Studio after importing it. -
getDefaultValue
The default value to assign to the component property. -
getEvent
An event that occurs in your app.Use this for workflow data binding.
-
getImportedValue
The default value assigned to the property when the component is imported into an app. -
getModel
The data model to use to assign a value to the component property. -
getProperty
The name of the component's property that is affected by an event. -
getType
The component type. -
getUserAttribute
An authenticated user attribute to use to assign a value to the component property. -
getValue
The value to assign to the component property. -
builder
-