toTransformJobStatus method

TransformJobStatus toTransformJobStatus()

Implementation

TransformJobStatus toTransformJobStatus() {
  switch (this) {
    case 'InProgress':
      return TransformJobStatus.inProgress;
    case 'Completed':
      return TransformJobStatus.completed;
    case 'Failed':
      return TransformJobStatus.failed;
    case 'Stopping':
      return TransformJobStatus.stopping;
    case 'Stopped':
      return TransformJobStatus.stopped;
  }
  throw Exception('$this is not known in enum TransformJobStatus');
}