toValue method
Implementation
String toValue() {
switch (this) {
case IoTJobExecutionFailureType.failed:
return 'FAILED';
case IoTJobExecutionFailureType.rejected:
return 'REJECTED';
case IoTJobExecutionFailureType.timedOut:
return 'TIMED_OUT';
case IoTJobExecutionFailureType.all:
return 'ALL';
}
}