toServerSideEncryption method
Implementation
ServerSideEncryption toServerSideEncryption() {
switch (this) {
case 'AES256':
return ServerSideEncryption.aes256;
case 'aws:kms':
return ServerSideEncryption.awsKms;
}
throw Exception('$this is not known in enum ServerSideEncryption');
}