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');
}