public UpdateListenerResult withListener(Listener listener) {
        setListener(listener);
        return this;
    }
<p>
Information for the updated listener.
</p>

@param listener
       Information for the updated listener.
@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/UpdateListenerResult.java