S3SettingsExtensions.

SetEncryptionMethod<T>(T, ServerSideEncryptionCustomerMethod) Method

Summary

Specifies the Server-side encryption algorithm to be used with the customer provided key.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3SettingsExtensions

Syntax

public static T SetEncryptionMethod<T>(this T settings, ServerSideEncryptionCustomerMethod method) 
    where T : S3Settings

Type Parameters

Name Description
T

Parameters

Name Type Description
settings T The S3 settings.
method ServerSideEncryptionCustomerMethod The Server-side encryption algorithm to be used with the customer provided key.

Return Value

Type Description
T The same S3Settings instance so that multiple calls can be chained.