toValue method
Implementation
String toValue() {
switch (this) {
case JobFlowExecutionState.starting:
return 'STARTING';
case JobFlowExecutionState.bootstrapping:
return 'BOOTSTRAPPING';
case JobFlowExecutionState.running:
return 'RUNNING';
case JobFlowExecutionState.waiting:
return 'WAITING';
case JobFlowExecutionState.shuttingDown:
return 'SHUTTING_DOWN';
case JobFlowExecutionState.terminated:
return 'TERMINATED';
case JobFlowExecutionState.completed:
return 'COMPLETED';
case JobFlowExecutionState.failed:
return 'FAILED';
}
}