Interface CfnComponent.ComponentChildProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnComponent.ComponentChildProperty.Jsii$Proxy
Enclosing class:
CfnComponent

@Stability(Stable) public static interface CfnComponent.ComponentChildProperty extends software.amazon.jsii.JsiiSerializable
The ComponentChild property specifies a nested UI configuration within a parent Component .

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.*;
 ComponentChildProperty componentChildProperty_;
 ComponentPropertyProperty componentPropertyProperty_;
 ComponentChildProperty componentChildProperty = ComponentChildProperty.builder()
         .componentType("componentType")
         .name("name")
         .properties(Map.of(
                 "propertiesKey", 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()))
         // the properties below are optional
         .children(List.of(componentChildProperty_))
         .events(Map.of(
                 "eventsKey", ComponentEventProperty.builder()
                         .action("action")
                         .bindingEvent("bindingEvent")
                         .parameters(ActionParametersProperty.builder()
                                 .anchor(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())
                                 .fields(Map.of(
                                         "fieldsKey", 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()))
                                 .global(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())
                                 .id(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())
                                 .model("model")
                                 .state(MutationActionSetStateParameterProperty.builder()
                                         .componentName("componentName")
                                         .property("property")
                                         .set(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())
                                         .build())
                                 .target(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())
                                 .type(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())
                                 .url(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())
                                 .build())
                         .build()))
         .sourceId("sourceId")
         .build();
 

See Also: