public GetBucketEncryptionResult withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) {
        setServerSideEncryptionConfiguration(serverSideEncryptionConfiguration);
        return this;
    }
Sets the container for server-side encryption configuration rules. Currently S3 supports one rule only.

@param serverSideEncryptionConfiguration New configuration.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/GetBucketEncryptionResult.java