toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReprocessingStatus.running:
      return 'RUNNING';
    case ReprocessingStatus.succeeded:
      return 'SUCCEEDED';
    case ReprocessingStatus.cancelled:
      return 'CANCELLED';
    case ReprocessingStatus.failed:
      return 'FAILED';
  }
}