toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActionOnFailure.terminateJobFlow:
      return 'TERMINATE_JOB_FLOW';
    case ActionOnFailure.terminateCluster:
      return 'TERMINATE_CLUSTER';
    case ActionOnFailure.cancelAndWait:
      return 'CANCEL_AND_WAIT';
    case ActionOnFailure.$continue:
      return 'CONTINUE';
  }
}