AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Sets the server side encryption method for the S3 Object's Version to the value specified.
public void SetServerSideEncryption( IAmazonS3 s3Client, String bucketName, String key, String version, ServerSideEncryptionMethod method )
The Amazon S3 Client to use for S3 specific operations.
The name of the bucket in which the key is stored
The key of the S3 Object
The version of the S3 Object
The server side encryption method
Supported in: 4.5, 4.0, 3.5