Sets the server side encryption method for the S3 Object to the value
specified.
| C# |
public static void SetServerSideEncryption( string bucketName, string key, ServerSideEncryptionMethod method, AmazonS3 s3Client )
- bucketName (String)
- The name of the bucket in which the key is stored
- key (String)
- The key of the S3 Object
- method (ServerSideEncryptionMethod)
- The server side encryption method
- s3Client (AmazonS3)
- The Amazon S3 Client to use for S3 specific operations.