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 ofComponentChildinstances for this component.children(Consumer<ComponentChild.Builder>... children) The list ofComponentChildinstances for this component.children(ComponentChild... children) The list ofComponentChildinstances 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
tagsas a valid property forproperties.- Parameters:
 properties- Describes the properties of the child component. You can't specifytagsas a valid property forproperties.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
children
The list of
ComponentChildinstances for this component.- Parameters:
 children- The list ofComponentChildinstances for this component.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
children
The list of
ComponentChildinstances for this component.- Parameters:
 children- The list ofComponentChildinstances 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 theComponentChildinstances for this component.ComponentChild.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 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.
 
 
 -