@Stability(value=Stable) public static final class CfnComponentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnComponentProps>
CfnComponentProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnComponentProps.Builder bindingProperties(IResolvable bindingProperties)
CfnComponentProps.getBindingProperties()bindingProperties - The information to connect a component's properties to data at runtime. This parameter is required.
You can't specify tags as a valid property for bindingProperties .this@Stability(value=Stable) public CfnComponentProps.Builder bindingProperties(Map<String,? extends Object> bindingProperties)
CfnComponentProps.getBindingProperties()bindingProperties - The information to connect a component's properties to data at runtime. This parameter is required.
You can't specify tags as a valid property for bindingProperties .this@Stability(value=Stable) public CfnComponentProps.Builder componentType(String componentType)
CfnComponentProps.getComponentType()componentType - The type of the component. This parameter is required.
This can be an Amplify custom UI component or another custom component.this@Stability(value=Stable) public CfnComponentProps.Builder name(String name)
CfnComponentProps.getName()name - The name of the component. This parameter is required.this@Stability(value=Stable) public CfnComponentProps.Builder overrides(IResolvable overrides)
CfnComponentProps.getOverrides()overrides - Describes the component's properties that can be overriden in a customized instance of the component. This parameter is required.
You can't specify tags as a valid property for overrides .this@Stability(value=Stable) public CfnComponentProps.Builder overrides(Map<String,? extends Object> overrides)
CfnComponentProps.getOverrides()overrides - Describes the component's properties that can be overriden in a customized instance of the component. This parameter is required.
You can't specify tags as a valid property for overrides .this@Stability(value=Stable) public CfnComponentProps.Builder properties(IResolvable properties)
CfnComponentProps.getProperties()properties - Describes the component's properties. This parameter is required.
You can't specify tags as a valid property for properties .this@Stability(value=Stable) public CfnComponentProps.Builder properties(Map<String,? extends Object> properties)
CfnComponentProps.getProperties()properties - Describes the component's properties. This parameter is required.
You can't specify tags as a valid property for properties .this@Stability(value=Stable) public CfnComponentProps.Builder variants(IResolvable variants)
CfnComponentProps.getVariants()variants - A list of the component's variants. This parameter is required.
A variant is a unique style configuration of a main component.this@Stability(value=Stable) public CfnComponentProps.Builder variants(List<? extends Object> variants)
CfnComponentProps.getVariants()variants - A list of the component's variants. This parameter is required.
A variant is a unique style configuration of a main component.this@Stability(value=Stable) public CfnComponentProps.Builder children(IResolvable children)
CfnComponentProps.getChildren()children - A list of the component's `ComponentChild` instances.this@Stability(value=Stable) public CfnComponentProps.Builder children(List<? extends Object> children)
CfnComponentProps.getChildren()children - A list of the component's `ComponentChild` instances.this@Stability(value=Stable) public CfnComponentProps.Builder collectionProperties(IResolvable collectionProperties)
CfnComponentProps.getCollectionProperties()collectionProperties - The data binding configuration for the component's properties.
Use this for a collection component. You can't specify tags as a valid property for collectionProperties .this@Stability(value=Stable) public CfnComponentProps.Builder collectionProperties(Map<String,? extends Object> collectionProperties)
CfnComponentProps.getCollectionProperties()collectionProperties - The data binding configuration for the component's properties.
Use this for a collection component. You can't specify tags as a valid property for collectionProperties .this@Stability(value=Stable) public CfnComponentProps.Builder events(IResolvable events)
CfnComponentProps.getEvents()events - Describes the events that can be raised on the component.
Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.this@Stability(value=Stable) public CfnComponentProps.Builder events(Map<String,? extends Object> events)
CfnComponentProps.getEvents()events - Describes the events that can be raised on the component.
Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.this@Stability(value=Stable) public CfnComponentProps.Builder schemaVersion(String schemaVersion)
CfnComponentProps.getSchemaVersion()schemaVersion - The schema version of the component when it was imported.this@Stability(value=Stable) public CfnComponentProps.Builder sourceId(String sourceId)
CfnComponentProps.getSourceId()sourceId - The unique ID of the component in its original source system, such as Figma.this@Stability(value=Stable) public CfnComponentProps.Builder tags(Map<String,String> tags)
CfnComponentProps.getTags()tags - One or more key-value pairs to use when tagging the component.this@Stability(value=Stable) public CfnComponentProps build()
build in interface software.amazon.jsii.Builder<CfnComponentProps>CfnComponentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.