toCandidateStepType method

CandidateStepType toCandidateStepType()

Implementation

CandidateStepType toCandidateStepType() {
  switch (this) {
    case 'AWS::SageMaker::TrainingJob':
      return CandidateStepType.awsSageMakerTrainingJob;
    case 'AWS::SageMaker::TransformJob':
      return CandidateStepType.awsSageMakerTransformJob;
    case 'AWS::SageMaker::ProcessingJob':
      return CandidateStepType.awsSageMakerProcessingJob;
  }
  throw Exception('$this is not known in enum CandidateStepType');
}