public ListProfilesResult withProfileSummaries(ProfileSummary... profileSummaries) {
        if (this.profileSummaries == null) {
            setProfileSummaries(new java.util.ArrayList<ProfileSummary>(profileSummaries.length));
        }
        for (ProfileSummary ele : profileSummaries) {
            this.profileSummaries.add(ele);
        }
        return this;
    }
<p>
Profile summaries.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProfileSummaries(java.util.Collection)} or {@link #withProfileSummaries(java.util.Collection)} if you
want to override the existing values.
</p>

@param profileSummaries
       Profile summaries.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/ListProfilesResult.java