Interface ComponentChild.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentChild.Builder,ComponentChild>,SdkBuilder<ComponentChild.Builder,ComponentChild>,SdkPojo
- Enclosing class:
- ComponentChild
public static interface ComponentChild.Builder extends SdkPojo, CopyableBuilder<ComponentChild.Builder,ComponentChild>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentChild.Builderchildren(Collection<ComponentChild> children)The list ofComponentChildinstances for this component.ComponentChild.Builderchildren(Consumer<ComponentChild.Builder>... children)The list ofComponentChildinstances for this component.ComponentChild.Builderchildren(ComponentChild... children)The list ofComponentChildinstances for this component.ComponentChild.BuildercomponentType(String componentType)The type of the child component.ComponentChild.Builderevents(Map<String,ComponentEvent> events)Describes the events that can be raised on the child component.ComponentChild.Buildername(String name)The name of the child component.ComponentChild.Builderproperties(Map<String,ComponentProperty> properties)Describes the properties of the child component.ComponentChild.BuildersourceId(String sourceId)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, sdkFields
-
-
-
-
Method Detail
-
componentType
ComponentChild.Builder componentType(String 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
ComponentChild.Builder name(String 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
ComponentChild.Builder properties(Map<String,ComponentProperty> 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
ComponentChild.Builder children(Collection<ComponentChild> 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
ComponentChild.Builder children(ComponentChild... 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
ComponentChild.Builder children(Consumer<ComponentChild.Builder>... 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 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)
-
events
ComponentChild.Builder events(Map<String,ComponentEvent> 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
ComponentChild.Builder sourceId(String 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.
-
-