Interface UpdateComponentData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateComponentData.Builder,UpdateComponentData>,SdkBuilder<UpdateComponentData.Builder,UpdateComponentData>,SdkPojo
- Enclosing class:
- UpdateComponentData
public static interface UpdateComponentData.Builder extends SdkPojo, CopyableBuilder<UpdateComponentData.Builder,UpdateComponentData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateComponentData.BuilderbindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)The data binding information for the component's properties.UpdateComponentData.Builderchildren(Collection<ComponentChild> children)The components that are instances of the main component.UpdateComponentData.Builderchildren(Consumer<ComponentChild.Builder>... children)The components that are instances of the main component.UpdateComponentData.Builderchildren(ComponentChild... children)The components that are instances of the main component.UpdateComponentData.BuildercollectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)The configuration for binding a component's properties to a data model.UpdateComponentData.BuildercomponentType(String componentType)The type of the component.UpdateComponentData.Builderevents(Map<String,ComponentEvent> events)The event configuration for the component.UpdateComponentData.Builderid(String id)The unique ID of the component to update.UpdateComponentData.Buildername(String name)The name of the component to update.UpdateComponentData.Builderoverrides(Map<String,? extends Map<String,String>> overrides)Describes the properties that can be overriden to customize the component.UpdateComponentData.Builderproperties(Map<String,ComponentProperty> properties)Describes the component's properties.UpdateComponentData.BuilderschemaVersion(String schemaVersion)The schema version of the component when it was imported.UpdateComponentData.BuildersourceId(String sourceId)The unique ID of the component in its original source system, such as Figma.UpdateComponentData.Buildervariants(Collection<ComponentVariant> variants)A list of the unique variants of the main component being updated.UpdateComponentData.Buildervariants(Consumer<ComponentVariant.Builder>... variants)A list of the unique variants of the main component being updated.UpdateComponentData.Buildervariants(ComponentVariant... variants)A list of the unique variants of the main component being updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
UpdateComponentData.Builder id(String id)
The unique ID of the component to update.
- Parameters:
id- The unique ID of the component to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateComponentData.Builder name(String name)
The name of the component to update.
- Parameters:
name- The name of the component to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceId
UpdateComponentData.Builder sourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
- Parameters:
sourceId- The unique ID of the component in its original source system, such as Figma.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentType
UpdateComponentData.Builder componentType(String componentType)
The type of the component. This can be an Amplify custom UI component or another custom component.
- Parameters:
componentType- The type of the component. This can be an Amplify custom UI component or another custom component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
UpdateComponentData.Builder properties(Map<String,ComponentProperty> properties)
Describes the component's properties.
- Parameters:
properties- Describes the component's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
UpdateComponentData.Builder children(Collection<ComponentChild> children)
The components that are instances of the main component.
- Parameters:
children- The components that are instances of the main component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
UpdateComponentData.Builder children(ComponentChild... children)
The components that are instances of the main component.
- Parameters:
children- The components that are instances of the main component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
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.Builderavoiding the need to create one manually viaComponentChild.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#children(List.) - Parameters:
children- a consumer that will call methods onComponentChild.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#children(java.util.Collection)
-
variants
UpdateComponentData.Builder variants(Collection<ComponentVariant> variants)
A list of the unique variants of the main component being updated.
- Parameters:
variants- A list of the unique variants of the main component being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
UpdateComponentData.Builder variants(ComponentVariant... variants)
A list of the unique variants of the main component being updated.
- Parameters:
variants- A list of the unique variants of the main component being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variants
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.Builderavoiding the need to create one manually viaComponentVariant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#variants(List.) - Parameters:
variants- a consumer that will call methods onComponentVariant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#variants(java.util.Collection)
-
overrides
UpdateComponentData.Builder overrides(Map<String,? extends Map<String,String>> overrides)
Describes the properties that can be overriden to customize the component.
- Parameters:
overrides- Describes the properties that can be overriden to customize the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bindingProperties
UpdateComponentData.Builder bindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
- Parameters:
bindingProperties- The data binding information for the component's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionProperties
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.
- Parameters:
collectionProperties- The configuration for binding a component's properties to a data model. Use this for a collection component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaVersion
UpdateComponentData.Builder schemaVersion(String schemaVersion)
The schema version of the component when it was imported.
- Parameters:
schemaVersion- The schema version of the component when it was imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-