public BucketMetadata withServerSideEncryption(BucketServerSideEncryption serverSideEncryption) {
        setServerSideEncryption(serverSideEncryption);
        return this;
    }
<p>
The default server-side encryption settings for the bucket.
</p>

@param serverSideEncryption
       The default server-side encryption settings for the bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/BucketMetadata.java