public ProxyConfiguration protocol(Protocol protocol) {
        setProtocol(protocol);
        return this;
    }
Sets the protocol (i.e. HTTP or HTTPS) to use when connecting through proxy.
<p>
The default configuration is to use HTTPS for all requests for increased security.
</p>

@param protocol The protocol to use when connecting through proxy.
@return This object for method chaining.
aws-java-sdk-opensdk/src/main/java/com/amazonaws/opensdk/config/ProxyConfiguration.java