toSplunkS3BackupMode method

SplunkS3BackupMode toSplunkS3BackupMode()

Implementation

SplunkS3BackupMode toSplunkS3BackupMode() {
  switch (this) {
    case 'FailedEventsOnly':
      return SplunkS3BackupMode.failedEventsOnly;
    case 'AllEvents':
      return SplunkS3BackupMode.allEvents;
  }
  throw Exception('$this is not known in enum SplunkS3BackupMode');
}