Add s3 server-side encryption as described here:
http://docs.aws.amazon.com/AmazonS3/latest/dev/SSEUsingJavaSDK.html