public void setListeners(java.util.Collection<CustomRoutingListener> listeners) {
        if (listeners == null) {
            this.listeners = null;
            return;
        }

        this.listeners = new java.util.ArrayList<CustomRoutingListener>(listeners);
    }
<p>
The list of listeners for a custom routing accelerator.
</p>

@param listeners
       The list of listeners for a custom routing accelerator.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/ListCustomRoutingListenersResult.java