public MembershipSummary withMemberAbilities(MemberAbility... memberAbilities) {
        java.util.ArrayList<String> memberAbilitiesCopy = new java.util.ArrayList<String>(memberAbilities.length);
        for (MemberAbility value : memberAbilities) {
            memberAbilitiesCopy.add(value.toString());
        }
        if (getMemberAbilities() == null) {
            setMemberAbilities(memberAbilitiesCopy);
        } else {
            getMemberAbilities().addAll(memberAbilitiesCopy);
        }
        return this;
    }
<p>
The abilities granted to the collaboration member.
</p>

@param memberAbilities
       The abilities granted to the collaboration member.
@return Returns a reference to this object so that method calls can be chained together.
@see MemberAbility
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/MembershipSummary.java