Interface ComponentChild.Builder

    • 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 tags as a valid property for properties.

        Parameters:
        properties - Describes the properties of the child component. You can't specify tags as a valid property for properties.
        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 ComponentChild instances for this component.

        Parameters:
        children - The list of ComponentChild instances 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 ComponentChild instances for this component.

        Parameters:
        children - The list of ComponentChild instances for this component.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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.