Interface ComponentChild.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentChild.Builder,
,ComponentChild> SdkBuilder<ComponentChild.Builder,
,ComponentChild> SdkPojo
- Enclosing class:
ComponentChild
-
Method Summary
Modifier and TypeMethodDescriptionchildren
(Collection<ComponentChild> children) The list ofComponentChild
instances for this component.children
(Consumer<ComponentChild.Builder>... children) The list ofComponentChild
instances for this component.children
(ComponentChild... children) The list ofComponentChild
instances for this component.componentType
(String componentType) The type of the child component.events
(Map<String, ComponentEvent> events) Describes the events that can be raised on the child component.The name of the child component.properties
(Map<String, ComponentProperty> properties) Describes the properties of the child component.The unique ID of the child component in its original source system, such as Figma.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 Details
-
componentType
The type of the child component.
- Parameters:
componentType
- The type of the child component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the child component.
- Parameters:
name
- The name of the child component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
Describes the properties of the child component. You can't specify
tags
as a valid property forproperties
.- Parameters:
properties
- Describes the properties of the child component. You can't specifytags
as a valid property forproperties
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
The list of
ComponentChild
instances for this component.- Parameters:
children
- The list ofComponentChild
instances for this component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
The list of
ComponentChild
instances for this component.- Parameters:
children
- The list ofComponentChild
instances for this component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
The list of
This is a convenience method that creates an instance of theComponentChild
instances for this component.ComponentChild.Builder
avoiding the need to create one manually viaComponentChild.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochildren(List<ComponentChild>)
.- 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:
-
events
Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- Parameters:
events
- Describes the events that can be raised on the child 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.
-
sourceId
The unique ID of the child component in its original source system, such as Figma.
- Parameters:
sourceId
- The unique ID of the child component in its original source system, such as Figma.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-