public Component withChildren(ComponentChild... children) {
        if (this.children == null) {
            setChildren(new java.util.ArrayList<ComponentChild>(children.length));
        }
        for (ComponentChild ele : children) {
            this.children.add(ele);
        }
        return this;
    }
<p>
A list of the component's <code>ComponentChild</code> instances.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setChildren(java.util.Collection)} or {@link #withChildren(java.util.Collection)} if you want to override
the existing values.
</p>

@param children
       A list of the component's <code>ComponentChild</code> instances.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/Component.java