toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutoMLJobSecondaryStatus.starting:
      return 'Starting';
    case AutoMLJobSecondaryStatus.analyzingData:
      return 'AnalyzingData';
    case AutoMLJobSecondaryStatus.featureEngineering:
      return 'FeatureEngineering';
    case AutoMLJobSecondaryStatus.modelTuning:
      return 'ModelTuning';
    case AutoMLJobSecondaryStatus.maxCandidatesReached:
      return 'MaxCandidatesReached';
    case AutoMLJobSecondaryStatus.failed:
      return 'Failed';
    case AutoMLJobSecondaryStatus.stopped:
      return 'Stopped';
    case AutoMLJobSecondaryStatus.maxAutoMLJobRuntimeReached:
      return 'MaxAutoMLJobRuntimeReached';
    case AutoMLJobSecondaryStatus.stopping:
      return 'Stopping';
    case AutoMLJobSecondaryStatus.candidateDefinitionsGenerated:
      return 'CandidateDefinitionsGenerated';
  }
}