public AwsS3BucketWebsiteConfigurationRoutingRuleRedirect withHostname(String hostname) {
        setHostname(hostname);
        return this;
    }
<p>
The host name to use in the redirect request.
</p>

@param hostname
       The host name to use in the redirect 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