toS3BackupMode method

S3BackupMode toS3BackupMode()

Implementation

S3BackupMode toS3BackupMode() {
  switch (this) {
    case 'Disabled':
      return S3BackupMode.disabled;
    case 'Enabled':
      return S3BackupMode.enabled;
  }
  throw Exception('$this is not known in enum S3BackupMode');
}