toCatalogEncryptionMode method

CatalogEncryptionMode toCatalogEncryptionMode()

Implementation

CatalogEncryptionMode toCatalogEncryptionMode() {
  switch (this) {
    case 'DISABLED':
      return CatalogEncryptionMode.disabled;
    case 'SSE-KMS':
      return CatalogEncryptionMode.sseKms;
  }
  throw Exception('$this is not known in enum CatalogEncryptionMode');
}