public ServerSideEncryptionByDefault withSSEAlgorithm ( SSEAlgorithm sseAlgorithm ) { setSSEAlgorithm ( sseAlgorithm == null ? null : sseAlgorithm . toString ( ) ) ; return this ; }
Sets the server - side encryption algorithm to use for the default encryption .