public AwsS3BucketWebsiteConfigurationRoutingRuleRedirect withProtocol(String protocol) {
        setProtocol(protocol);
        return this;
    }
<p>
The protocol to use to redirect the request. By default, uses the protocol from the original request.
</p>

@param protocol
       The protocol to use to redirect the request. By default, uses the protocol from the original request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.java