public java.util.List<EndpointGroup> getEndpointGroups() {
        return endpointGroups;
    }
<p>
The list of the endpoint groups associated with a listener.
</p>

@return The list of the endpoint groups associated with a listener.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/ListEndpointGroupsResult.java