toEncryptionModeValue method

EncryptionModeValue toEncryptionModeValue()

Implementation

EncryptionModeValue toEncryptionModeValue() {
  switch (this) {
    case 'sse-s3':
      return EncryptionModeValue.sseS3;
    case 'sse-kms':
      return EncryptionModeValue.sseKms;
  }
  throw Exception('$this is not known in enum EncryptionModeValue');
}