public CreateEndpointGroupRequest withEndpointConfigurations(java.util.Collection<EndpointConfiguration> endpointConfigurations) {
        setEndpointConfigurations(endpointConfigurations);
        return this;
    }
<p>
The list of endpoint objects.
</p>

@param endpointConfigurations
       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/CreateEndpointGroupRequest.java