toAwsJobAbortCriteriaAbortAction method

AwsJobAbortCriteriaAbortAction toAwsJobAbortCriteriaAbortAction()

Implementation

AwsJobAbortCriteriaAbortAction toAwsJobAbortCriteriaAbortAction() {
  switch (this) {
    case 'CANCEL':
      return AwsJobAbortCriteriaAbortAction.cancel;
  }
  throw Exception(
      '$this is not known in enum AwsJobAbortCriteriaAbortAction');
}