public ListAddonSubscriptionsResult withAddonSubscriptions(AddonSubscription... addonSubscriptions) {
        if (this.addonSubscriptions == null) {
            setAddonSubscriptions(new java.util.ArrayList<AddonSubscription>(addonSubscriptions.length));
        }
        for (AddonSubscription ele : addonSubscriptions) {
            this.addonSubscriptions.add(ele);
        }
        return this;
    }
<p>
The list of ingress endpoints.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAddonSubscriptions(java.util.Collection)} or {@link #withAddonSubscriptions(java.util.Collection)} if
you want to override the existing values.
</p>

@param addonSubscriptions
       The list of ingress endpoints.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/ListAddonSubscriptionsResult.java