public static interface UpdateComponentData.Builder extends SdkPojo, CopyableBuilder<UpdateComponentData.Builder,UpdateComponentData>
| Modifier and Type | Method and Description |
|---|---|
UpdateComponentData.Builder |
bindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
|
UpdateComponentData.Builder |
children(Collection<ComponentChild> children)
The components that are instances of the main component.
|
UpdateComponentData.Builder |
children(ComponentChild... children)
The components that are instances of the main component.
|
UpdateComponentData.Builder |
children(Consumer<ComponentChild.Builder>... children)
The components that are instances of the main component.
|
UpdateComponentData.Builder |
collectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The configuration for binding a component's properties to a data model.
|
UpdateComponentData.Builder |
componentType(String componentType)
The type of the component.
|
UpdateComponentData.Builder |
events(Map<String,ComponentEvent> events)
The event configuration for the component.
|
UpdateComponentData.Builder |
id(String id)
The unique ID of the component to update.
|
UpdateComponentData.Builder |
name(String name)
The name of the component to update.
|
UpdateComponentData.Builder |
overrides(Map<String,? extends Map<String,String>> overrides)
Describes the properties that can be overriden to customize the component.
|
UpdateComponentData.Builder |
properties(Map<String,ComponentProperty> properties)
Describes the component's properties.
|
UpdateComponentData.Builder |
schemaVersion(String schemaVersion)
The schema version of the component when it was imported.
|
UpdateComponentData.Builder |
sourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
|
UpdateComponentData.Builder |
variants(Collection<ComponentVariant> variants)
A list of the unique variants of the main component being updated.
|
UpdateComponentData.Builder |
variants(ComponentVariant... variants)
A list of the unique variants of the main component being updated.
|
UpdateComponentData.Builder |
variants(Consumer<ComponentVariant.Builder>... variants)
A list of the unique variants of the main component being updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateComponentData.Builder id(String id)
The unique ID of the component to update.
id - The unique ID of the component to update.UpdateComponentData.Builder name(String name)
The name of the component to update.
name - The name of the component to update.UpdateComponentData.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.UpdateComponentData.Builder componentType(String componentType)
The type of the component. This can be an Amplify custom UI component or another custom component.
componentType - The type of the component. This can be an Amplify custom UI component or another custom component.UpdateComponentData.Builder properties(Map<String,ComponentProperty> properties)
Describes the component's properties.
properties - Describes the component's properties.UpdateComponentData.Builder children(Collection<ComponentChild> children)
The components that are instances of the main component.
children - The components that are instances of the main component.UpdateComponentData.Builder children(ComponentChild... children)
The components that are instances of the main component.
children - The components that are instances of the main component.UpdateComponentData.Builder children(Consumer<ComponentChild.Builder>... children)
The 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) UpdateComponentData.Builder variants(Collection<ComponentVariant> variants)
A list of the unique variants of the main component being updated.
variants - A list of the unique variants of the main component being updated.UpdateComponentData.Builder variants(ComponentVariant... variants)
A list of the unique variants of the main component being updated.
variants - A list of the unique variants of the main component being updated.UpdateComponentData.Builder variants(Consumer<ComponentVariant.Builder>... variants)
A list of the unique variants of the main component being updated.
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) UpdateComponentData.Builder overrides(Map<String,? extends Map<String,String>> overrides)
Describes the properties that can be overriden to customize the component.
overrides - Describes the properties that can be overriden to customize the component.UpdateComponentData.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.UpdateComponentData.Builder collectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The configuration for binding a component's properties to a data model. Use this for a collection component.
collectionProperties - The configuration for binding a component's properties to a data model. Use this for a collection
component.UpdateComponentData.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.UpdateComponentData.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.Copyright © 2023. All rights reserved.