toS3SseAlgorithm method

S3SseAlgorithm toS3SseAlgorithm()

Implementation

S3SseAlgorithm toS3SseAlgorithm() {
  switch (this) {
    case 'AES256':
      return S3SseAlgorithm.aes256;
    case 'KMS':
      return S3SseAlgorithm.kms;
  }
  throw Exception('$this is not known in enum S3SseAlgorithm');
}