public LoadBalancer withProtocol(LoadBalancerProtocol protocol) {
        this.protocol = protocol.toString();
        return this;
    }
<p>
The protocol you have enabled for your load balancer. Valid values are below.
</p>
<p>
You can't just have <code>HTTP_HTTPS</code>, but you can have just <code>HTTP</code>.
</p>

@param protocol
       The protocol you have enabled for your load balancer. Valid values are below.</p>
       <p>
       You can't just have <code>HTTP_HTTPS</code>, but you can have just <code>HTTP</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see LoadBalancerProtocol
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LoadBalancer.java