toRedshiftS3BackupMode method

RedshiftS3BackupMode toRedshiftS3BackupMode()

Implementation

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