public ListAccessPoliciesResult withAccessPolicySummaries(AccessPolicySummary... accessPolicySummaries) {
        if (this.accessPolicySummaries == null) {
            setAccessPolicySummaries(new java.util.ArrayList<AccessPolicySummary>(accessPolicySummaries.length));
        }
        for (AccessPolicySummary ele : accessPolicySummaries) {
            this.accessPolicySummaries.add(ele);
        }
        return this;
    }
<p>
A list that summarizes each access policy.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAccessPolicySummaries(java.util.Collection)} or
{@link #withAccessPolicySummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param accessPolicySummaries
       A list that summarizes each access policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/ListAccessPoliciesResult.java