public ListMembershipsResult withMembershipSummaries(java.util.Collection<MembershipSummary> membershipSummaries) {
        setMembershipSummaries(membershipSummaries);
        return this;
    }
<p>
The list of memberships returned from the ListMemberships operation.
</p>

@param membershipSummaries
       The list of memberships returned from the ListMemberships operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/ListMembershipsResult.java