public AddEndpointsResult withEndpointDescriptions(EndpointDescription... endpointDescriptions) {
        if (this.endpointDescriptions == null) {
            setEndpointDescriptions(new java.util.ArrayList<EndpointDescription>(endpointDescriptions.length));
        }
        for (EndpointDescription ele : endpointDescriptions) {
            this.endpointDescriptions.add(ele);
        }
        return this;
    }
<p>
The list of endpoint objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEndpointDescriptions(java.util.Collection)} or {@link #withEndpointDescriptions(java.util.Collection)}
if you want to override the existing values.
</p>

@param endpointDescriptions
       The list of endpoint objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/AddEndpointsResult.java