toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.trainingJob:
      return 'TrainingJob';
    case ResourceType.experiment:
      return 'Experiment';
    case ResourceType.experimentTrial:
      return 'ExperimentTrial';
    case ResourceType.experimentTrialComponent:
      return 'ExperimentTrialComponent';
    case ResourceType.endpoint:
      return 'Endpoint';
    case ResourceType.modelPackage:
      return 'ModelPackage';
    case ResourceType.modelPackageGroup:
      return 'ModelPackageGroup';
    case ResourceType.pipeline:
      return 'Pipeline';
    case ResourceType.pipelineExecution:
      return 'PipelineExecution';
    case ResourceType.featureGroup:
      return 'FeatureGroup';
  }
}