public ListEndpointsResult withEndpointPropertiesList(EndpointProperties... endpointPropertiesList) {
        if (this.endpointPropertiesList == null) {
            setEndpointPropertiesList(new java.util.ArrayList<EndpointProperties>(endpointPropertiesList.length));
        }
        for (EndpointProperties ele : endpointPropertiesList) {
            this.endpointPropertiesList.add(ele);
        }
        return this;
    }
<p>
Displays a list of endpoint properties being retrieved by the service in response to the request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEndpointPropertiesList(java.util.Collection)} or
{@link #withEndpointPropertiesList(java.util.Collection)} if you want to override the existing values.
</p>

@param endpointPropertiesList
       Displays a list of endpoint properties being retrieved by the service in response to the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ListEndpointsResult.java