public ListPartnershipsResult withPartnerships(PartnershipSummary... partnerships) {
        if (this.partnerships == null) {
            setPartnerships(new java.util.ArrayList<PartnershipSummary>(partnerships.length));
        }
        for (PartnershipSummary ele : partnerships) {
            this.partnerships.add(ele);
        }
        return this;
    }
<p>
Specifies a list of your partnerships.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPartnerships(java.util.Collection)} or {@link #withPartnerships(java.util.Collection)} if you want to
override the existing values.
</p>

@param partnerships
       Specifies a list of your partnerships.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-b2bi/src/main/java/com/amazonaws/services/b2bi/model/ListPartnershipsResult.java