public static interface CreateComponentData.Builder extends SdkPojo, CopyableBuilder<CreateComponentData.Builder,CreateComponentData>
| Modifier and Type | Method and Description |
|---|---|
CreateComponentData.Builder |
bindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
|
CreateComponentData.Builder |
children(Collection<ComponentChild> children)
A list of child components that are instances of the main component.
|
CreateComponentData.Builder |
children(ComponentChild... children)
A list of child components that are instances of the main component.
|
CreateComponentData.Builder |
children(Consumer<ComponentChild.Builder>... children)
A list of child components that are instances of the main component.
|
CreateComponentData.Builder |
collectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The data binding configuration for customizing a component's properties.
|
CreateComponentData.Builder |
componentType(String componentType)
The component type.
|
CreateComponentData.Builder |
events(Map<String,ComponentEvent> events)
The event configuration for the component.
|
CreateComponentData.Builder |
name(String name)
The name of the component
|
CreateComponentData.Builder |
overrides(Map<String,? extends Map<String,String>> overrides)
Describes the component properties that can be overriden to customize an instance of the component.
|
CreateComponentData.Builder |
properties(Map<String,ComponentProperty> properties)
Describes the component's properties.
|
CreateComponentData.Builder |
schemaVersion(String schemaVersion)
The schema version of the component when it was imported.
|
CreateComponentData.Builder |
sourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
|
CreateComponentData.Builder |
tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the component data.
|
CreateComponentData.Builder |
variants(Collection<ComponentVariant> variants)
A list of the unique variants of this component.
|
CreateComponentData.Builder |
variants(ComponentVariant... variants)
A list of the unique variants of this component.
|
CreateComponentData.Builder |
variants(Consumer<ComponentVariant.Builder>... variants)
A list of the unique variants of this component.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateComponentData.Builder bindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
bindingProperties - The data binding information for the component's properties.CreateComponentData.Builder children(Collection<ComponentChild> children)
A list of child components that are instances of the main component.
children - A list of child components that are instances of the main component.CreateComponentData.Builder children(ComponentChild... children)
A list of child components that are instances of the main component.
children - A list of child components that are instances of the main component.CreateComponentData.Builder children(Consumer<ComponentChild.Builder>... children)
A list of child components that are instances of the main component.
This is a convenience method that creates an instance of theComponentChild.Builder avoiding the need to
create one manually via
ComponentChild.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #children(List.
children - a consumer that will call methods on
ComponentChild.Builder#children(java.util.Collection) CreateComponentData.Builder collectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The data binding configuration for customizing a component's properties. Use this for a collection component.
collectionProperties - The data binding configuration for customizing a component's properties. Use this for a collection
component.CreateComponentData.Builder componentType(String componentType)
The component type. This can be an Amplify custom UI component or another custom component.
componentType - The component type. This can be an Amplify custom UI component or another custom component.CreateComponentData.Builder events(Map<String,ComponentEvent> events)
The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
events - The event configuration for the component. Use for the workflow feature in Amplify Studio that allows
you to bind events and actions to components.CreateComponentData.Builder name(String name)
The name of the component
name - The name of the componentCreateComponentData.Builder overrides(Map<String,? extends Map<String,String>> overrides)
Describes the component properties that can be overriden to customize an instance of the component.
overrides - Describes the component properties that can be overriden to customize an instance of the component.CreateComponentData.Builder properties(Map<String,ComponentProperty> properties)
Describes the component's properties.
properties - Describes the component's properties.CreateComponentData.Builder schemaVersion(String schemaVersion)
The schema version of the component when it was imported.
schemaVersion - The schema version of the component when it was imported.CreateComponentData.Builder sourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
sourceId - The unique ID of the component in its original source system, such as Figma.CreateComponentData.Builder tags(Map<String,String> tags)
One or more key-value pairs to use when tagging the component data.
tags - One or more key-value pairs to use when tagging the component data.CreateComponentData.Builder variants(Collection<ComponentVariant> variants)
A list of the unique variants of this component.
variants - A list of the unique variants of this component.CreateComponentData.Builder variants(ComponentVariant... variants)
A list of the unique variants of this component.
variants - A list of the unique variants of this component.CreateComponentData.Builder variants(Consumer<ComponentVariant.Builder>... variants)
A list of the unique variants of this component.
This is a convenience method that creates an instance of theComponentVariant.Builder avoiding the need to
create one manually via
ComponentVariant.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #variants(List.
variants - a consumer that will call methods on
ComponentVariant.Builder#variants(java.util.Collection) Copyright © 2022. All rights reserved.