public void setRedirectLocation(String redirectLocation) {
        this.redirectLocation = redirectLocation;
    }
<p>
If the destination bucket is configured as a website, specifies an optional metadata property for website
redirects, <code>x-amz-website-redirect-location</code>. Allows webpage redirects if the object copy is accessed
through a website endpoint.
</p>
<note>
<p>
This functionality is not supported by directory buckets.
</p>
</note>

@param redirectLocation
       If the destination bucket is configured as a website, specifies an optional metadata property for website
       redirects, <code>x-amz-website-redirect-location</code>. Allows webpage redirects if the object copy is
       accessed through a website endpoint.</p> <note>
       <p>
       This functionality is not supported by directory buckets.
       </p>
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/S3CopyObjectOperation.java