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

@param profileShareSummaries
       Profile share 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/ListProfileSharesResult.java