public ListComponentsResult withComponentSummaries(ComponentSummary... componentSummaries) {
        if (this.componentSummaries == null) {
            setComponentSummaries(new java.util.ArrayList<ComponentSummary>(componentSummaries.length));
        }
        for (ComponentSummary ele : componentSummaries) {
            this.componentSummaries.add(ele);
        }
        return this;
    }
<p>
A list of objects that contain information about the components.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setComponentSummaries(java.util.Collection)} or {@link #withComponentSummaries(java.util.Collection)} if
you want to override the existing values.
</p>

@param componentSummaries
       A list of objects that contain information about the components.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/ListComponentsResult.java