public Listener withProtocol(String protocol) {
        setProtocol(protocol);
        return this;
    }
<p>
The protocol for the connections from clients to the accelerator.
</p>

@param protocol
       The protocol for the connections from clients to the accelerator.
@return Returns a reference to this object so that method calls can be chained together.
@see Protocol
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/Listener.java