toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case HyperParameterTuningJobStatus.completed:
      return 'Completed';
    case HyperParameterTuningJobStatus.inProgress:
      return 'InProgress';
    case HyperParameterTuningJobStatus.failed:
      return 'Failed';
    case HyperParameterTuningJobStatus.stopped:
      return 'Stopped';
    case HyperParameterTuningJobStatus.stopping:
      return 'Stopping';
  }
}