toHyperParameterTuningJobSortByOptions method

HyperParameterTuningJobSortByOptions toHyperParameterTuningJobSortByOptions()

Implementation

HyperParameterTuningJobSortByOptions
    toHyperParameterTuningJobSortByOptions() {
  switch (this) {
    case 'Name':
      return HyperParameterTuningJobSortByOptions.name;
    case 'Status':
      return HyperParameterTuningJobSortByOptions.status;
    case 'CreationTime':
      return HyperParameterTuningJobSortByOptions.creationTime;
  }
  throw Exception(
      '$this is not known in enum HyperParameterTuningJobSortByOptions');
}