setEventName
public void setEventName(String EventName)
Set Event type. Value range:
`JOB_RUNNING`: The job is running, applicable to `SubmitJob`. `JOB_SUCCEED`: The job succeeded, applicable to `SubmitJob`. `JOB_FAILED`: The job failed, applicable to `SubmitJob`. `JOB_FAILED_INTERRUPTED`: The job failed and the instance is retained, applicable to `SubmitJob`. `TASK_RUNNING`: The task is running, applicable to `SubmitJob`. `TASK_SUCCEED`: The task succeeded, applicable to `SubmitJob`. `TASK_FAILED`: The task failed, applicable to `SubmitJob`. `TASK_FAILED_INTERRUPTED`: The task failed and the instance is retained, applicable to `SubmitJob`. `TASK_INSTANCE_RUNNING`: The task instance is running, applicable to `SubmitJob`. `TASK_INSTANCE_SUCCEED`: The task instance succeeded, applicable to `SubmitJob`. `TASK_INSTANCE_FAILED`: The task instance failed, applicable to `SubmitJob`. `TASK_INSTANCE_FAILED_INTERRUPTED`: The task instance failed and the instance is retained, applicable to `SubmitJob`. `COMPUTE_ENV_CREATED`: the compute environment has been created, applicable to "CreateComputeEnv". `COMPUTE_ENV_DELETED`: The compute environment has been deleted, applicable to `CreateComputeEnv`. `COMPUTE_NODE_CREATED`: The compute node has been created, applicable to `CreateComputeEnv` and `SubmitJob`. `COMPUTE_NODE_CREATION_FAILED`: The compute node creation failed, applicable to `CreateComputeEnv` and `SubmitJob`. `COMPUTE_NODE_RUNNING`: The compute node is running, applicable to `CreateComputeEnv` and `SubmitJob`. `COMPUTE_NODE_ABNORMAL`: The compute node is exceptional, applicable to "CreateComputeEnv" and "SubmitJob". `COMPUTE_NODE_DELETING`: The compute node has been deleted, applicable to `CreateComputeEnv` and `SubmitJob`.
- Parameters:
EventName
- Event type. Value range:
- `JOB_RUNNING`: The job is running, applicable to `SubmitJob`.
- `JOB_SUCCEED`: The job succeeded, applicable to `SubmitJob`.
- `JOB_FAILED`: The job failed, applicable to `SubmitJob`.
- `JOB_FAILED_INTERRUPTED`: The job failed and the instance is retained, applicable to `SubmitJob`.
- `TASK_RUNNING`: The task is running, applicable to `SubmitJob`.
- `TASK_SUCCEED`: The task succeeded, applicable to `SubmitJob`.
- `TASK_FAILED`: The task failed, applicable to `SubmitJob`.
- `TASK_FAILED_INTERRUPTED`: The task failed and the instance is retained, applicable to `SubmitJob`.
- `TASK_INSTANCE_RUNNING`: The task instance is running, applicable to `SubmitJob`.
- `TASK_INSTANCE_SUCCEED`: The task instance succeeded, applicable to `SubmitJob`.
- `TASK_INSTANCE_FAILED`: The task instance failed, applicable to `SubmitJob`.
- `TASK_INSTANCE_FAILED_INTERRUPTED`: The task instance failed and the instance is retained, applicable to `SubmitJob`.
- `COMPUTE_ENV_CREATED`: the compute environment has been created, applicable to "CreateComputeEnv".
- `COMPUTE_ENV_DELETED`: The compute environment has been deleted, applicable to `CreateComputeEnv`.
- `COMPUTE_NODE_CREATED`: The compute node has been created, applicable to `CreateComputeEnv` and `SubmitJob`.
- `COMPUTE_NODE_CREATION_FAILED`: The compute node creation failed, applicable to `CreateComputeEnv` and `SubmitJob`.
- `COMPUTE_NODE_RUNNING`: The compute node is running, applicable to `CreateComputeEnv` and `SubmitJob`.
- `COMPUTE_NODE_ABNORMAL`: The compute node is exceptional, applicable to "CreateComputeEnv" and "SubmitJob".
- `COMPUTE_NODE_DELETING`: The compute node has been deleted, applicable to `CreateComputeEnv` and `SubmitJob`.