toServerSideEncryptionTypes method

ServerSideEncryptionTypes toServerSideEncryptionTypes()

Implementation

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