toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BackupType.user:
      return 'USER';
    case BackupType.system:
      return 'SYSTEM';
    case BackupType.awsBackup:
      return 'AWS_BACKUP';
  }
}