class_docstr: Possible states of a job once it has been accepted by the job manager.
  
  :data:`CREATED`:
  
  Job is newly created, no task has started to run.
  
  :data:`RUNNING`:
  
  Some tasks are scheduled or running, some may be pending, some may be finished.
  
  :data:`FAILING`:
  
  The job has failed and is currently waiting for the cleanup to complete.
  
  :data:`FAILED`:
  
  The job has failed with a non-recoverable task failure.
  
  :data:`CANCELLING`:
  
  Job is being cancelled.
  
  :data:`CANCELED`:
  
  Job has been cancelled.
  
  :data:`FINISHED`:
  
  All of the job's tasks have successfully finished.
  
  :data:`RESTARTING`:
  
  The job is currently undergoing a reset and total restart.
  
  :data:`SUSPENDED`:
  
  The job has been suspended which means that it has been stopped but not been removed from a
  potential HA job store.
  
  :data:`RECONCILING`:
  
  The job is currently reconciling and waits for task execution report to recover state.
  
  .. versionadded:: 1.11.0
code: def _to_j_job_status(self):
      gateway = get_gateway()
      JJobStatus = gateway.jvm.org.apache.flink.api.common.JobStatus
      return getattr(JJobStatus, self.name)
  
imports: from enum import Enum
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 4 for calling the JobStatus obj's underlying member method code with example usage: obj._to_j_job_status() and returns: getattr