toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BackupType.automatic:
      return 'AUTOMATIC';
    case BackupType.userInitiated:
      return 'USER_INITIATED';
    case BackupType.awsBackup:
      return 'AWS_BACKUP';
  }
}