public S3ObjectMetadata withSSEAlgorithm(String sSEAlgorithm) {
        setSSEAlgorithm(sSEAlgorithm);
        return this;
    }
<p/>
<note>
<p>
For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>)
is supported.
</p>
</note>

@param sSEAlgorithm
       <note>
       <p>
       For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (
       <code>AES256</code>) is supported.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
@see S3SSEAlgorithm
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/S3ObjectMetadata.java