@Stability(value=Stable) public static final class CfnComponent.Builder extends Object implements software.amazon.jsii.Builder<CfnComponent>
CfnComponent.| Modifier and Type | Method and Description |
|---|---|
CfnComponent.Builder |
bindingProperties(IResolvable bindingProperties)
The information to connect a component's properties to data at runtime.
|
CfnComponent.Builder |
bindingProperties(Map<String,? extends Object> bindingProperties)
The information to connect a component's properties to data at runtime.
|
CfnComponent |
build() |
CfnComponent.Builder |
children(IResolvable children)
A list of the component's `ComponentChild` instances.
|
CfnComponent.Builder |
children(List<? extends Object> children)
A list of the component's `ComponentChild` instances.
|
CfnComponent.Builder |
collectionProperties(IResolvable collectionProperties)
The data binding configuration for the component's properties.
|
CfnComponent.Builder |
collectionProperties(Map<String,? extends Object> collectionProperties)
The data binding configuration for the component's properties.
|
CfnComponent.Builder |
componentType(String componentType)
The type of the component.
|
static CfnComponent.Builder |
create(software.constructs.Construct scope,
String id) |
CfnComponent.Builder |
events(IResolvable events)
Describes the events that can be raised on the component.
|
CfnComponent.Builder |
events(Map<String,? extends Object> events)
Describes the events that can be raised on the component.
|
CfnComponent.Builder |
name(String name)
The name of the component.
|
CfnComponent.Builder |
overrides(IResolvable overrides)
Describes the component's properties that can be overriden in a customized instance of the component.
|
CfnComponent.Builder |
overrides(Map<String,? extends Object> overrides)
Describes the component's properties that can be overriden in a customized instance of the component.
|
CfnComponent.Builder |
properties(IResolvable properties)
Describes the component's properties.
|
CfnComponent.Builder |
properties(Map<String,? extends Object> properties)
Describes the component's properties.
|
CfnComponent.Builder |
schemaVersion(String schemaVersion)
The schema version of the component when it was imported.
|
CfnComponent.Builder |
sourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
|
CfnComponent.Builder |
tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the component.
|
CfnComponent.Builder |
variants(IResolvable variants)
A list of the component's variants.
|
CfnComponent.Builder |
variants(List<? extends Object> variants)
A list of the component's variants.
|
@Stability(value=Stable) public static CfnComponent.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnComponent.ActionParametersProperty.Builder.@Stability(value=Stable) public CfnComponent.Builder bindingProperties(IResolvable bindingProperties)
You can't specify tags as a valid property for bindingProperties .
bindingProperties - The information to connect a component's properties to data at runtime. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder bindingProperties(Map<String,? extends Object> bindingProperties)
You can't specify tags as a valid property for bindingProperties .
bindingProperties - The information to connect a component's properties to data at runtime. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder componentType(String componentType)
This can be an Amplify custom UI component or another custom component.
componentType - The type of the component. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder name(String name)
name - The name of the component. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder overrides(IResolvable overrides)
You can't specify tags as a valid property for overrides .
overrides - Describes the component's properties that can be overriden in a customized instance of the component. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder overrides(Map<String,? extends Object> overrides)
You can't specify tags as a valid property for overrides .
overrides - Describes the component's properties that can be overriden in a customized instance of the component. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder properties(IResolvable properties)
You can't specify tags as a valid property for properties .
properties - Describes the component's properties. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder properties(Map<String,? extends Object> properties)
You can't specify tags as a valid property for properties .
properties - Describes the component's properties. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder variants(IResolvable variants)
A variant is a unique style configuration of a main component.
variants - A list of the component's variants. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder variants(List<? extends Object> variants)
A variant is a unique style configuration of a main component.
variants - A list of the component's variants. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder children(IResolvable children)
children - A list of the component's `ComponentChild` instances. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder children(List<? extends Object> children)
children - A list of the component's `ComponentChild` instances. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder collectionProperties(IResolvable collectionProperties)
Use this for a collection component. You can't specify tags as a valid property for collectionProperties .
collectionProperties - The data binding configuration for the component's properties. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder collectionProperties(Map<String,? extends Object> collectionProperties)
Use this for a collection component. You can't specify tags as a valid property for collectionProperties .
collectionProperties - The data binding configuration for the component's properties. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder events(IResolvable events)
Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
events - Describes the events that can be raised on the component. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder events(Map<String,? extends Object> events)
Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
events - Describes the events that can be raised on the component. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder schemaVersion(String schemaVersion)
schemaVersion - The schema version of the component when it was imported. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder sourceId(String sourceId)
sourceId - The unique ID of the component in its original source system, such as Figma. This parameter is required.this@Stability(value=Stable) public CfnComponent.Builder tags(Map<String,String> tags)
tags - One or more key-value pairs to use when tagging the component. This parameter is required.this@Stability(value=Stable) public CfnComponent build()
build in interface software.amazon.jsii.Builder<CfnComponent>Copyright © 2022. All rights reserved.