Interface ComponentChild.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ComponentChild.Builder,,- ComponentChild> - SdkBuilder<ComponentChild.Builder,,- ComponentChild> - SdkPojo
- Enclosing class:
- ComponentChild
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
componentTypeThe 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.
 
- 
nameThe 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.
 
- 
propertiesDescribes 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 specify- tagsas a valid property for- properties.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
childrenThe list of ComponentChildinstances for this component.- Parameters:
- children- The list of- ComponentChildinstances for this component.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
childrenThe list of ComponentChildinstances for this component.- Parameters:
- children- The list of- ComponentChildinstances for this component.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
childrenThe 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 on- ComponentChild.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventsDescribes 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.
 
- 
sourceIdThe 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.
 
 
-