Interface UpdateComponentData.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<UpdateComponentData.Builder,,- UpdateComponentData> - SdkBuilder<UpdateComponentData.Builder,,- UpdateComponentData> - SdkPojo
- Enclosing class:
- UpdateComponentData
- 
Method SummaryModifier and TypeMethodDescriptionbindingProperties(Map<String, ComponentBindingPropertiesValue> bindingProperties) The data binding information for the component's properties.children(Collection<ComponentChild> children) The components that are instances of the main component.children(Consumer<ComponentChild.Builder>... children) The components that are instances of the main component.children(ComponentChild... children) The components that are instances of the main component.collectionProperties(Map<String, ComponentDataConfiguration> collectionProperties) The configuration for binding a component's properties to a data model.componentType(String componentType) The type of the component.events(Map<String, ComponentEvent> events) The event configuration for the component.The unique ID of the component to update.The name of the component to update.Describes the properties that can be overriden to customize the component.properties(Map<String, ComponentProperty> properties) Describes the component's properties.schemaVersion(String schemaVersion) The schema version of the component when it was imported.The unique ID of the component in its original source system, such as Figma.variants(Collection<ComponentVariant> variants) A list of the unique variants of the main component being updated.variants(Consumer<ComponentVariant.Builder>... variants) A list of the unique variants of the main component being updated.variants(ComponentVariant... variants) A list of the unique variants of the main component being updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
idThe 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.
 
- 
nameThe 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.
 
- 
sourceIdThe 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.
 
- 
componentTypeThe 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.
 
- 
propertiesDescribes 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.
 
- 
childrenThe 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.
 
- 
childrenThe 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.
 
- 
childrenThe 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 tochildren(List<ComponentChild>).- Parameters:
- children- a consumer that will call methods on- ComponentChild.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
variantsA 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.
 
- 
variantsA 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.
 
- 
variantsA 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 tovariants(List<ComponentVariant>).- Parameters:
- variants- a consumer that will call methods on- ComponentVariant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overridesDescribes 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.
 
- 
bindingPropertiesUpdateComponentData.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.
 
- 
collectionPropertiesUpdateComponentData.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.
 
- 
eventsThe 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.
 
- 
schemaVersionThe 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.
 
 
-