public CreatePartnershipResult withCapabilities(String... capabilities) {
        if (this.capabilities == null) {
            setCapabilities(new java.util.ArrayList<String>(capabilities.length));
        }
        for (String ele : capabilities) {
            this.capabilities.add(ele);
        }
        return this;
    }
<p>
Returns one or more capabilities associated with this partnership.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCapabilities(java.util.Collection)} or {@link #withCapabilities(java.util.Collection)} if you want to
override the existing values.
</p>

@param capabilities
       Returns one or more capabilities associated with this partnership.
@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/CreatePartnershipResult.java