toScheduledAutoTuneActionType method

ScheduledAutoTuneActionType toScheduledAutoTuneActionType()

Implementation

ScheduledAutoTuneActionType toScheduledAutoTuneActionType() {
  switch (this) {
    case 'JVM_HEAP_SIZE_TUNING':
      return ScheduledAutoTuneActionType.jvmHeapSizeTuning;
    case 'JVM_YOUNG_GEN_TUNING':
      return ScheduledAutoTuneActionType.jvmYoungGenTuning;
  }
  throw Exception('$this is not known in enum ScheduledAutoTuneActionType');
}