public class Job extends AbstractModel
| Constructor and Description | 
|---|
| Job() | 
| Job(Job source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Dependence[] | getDependences()Get Dependency information | 
| String | getJobDescription()Get Instance description | 
| String | getJobName()Get Instance name | 
| Notification[] | getNotifications()Get Notification information | 
| Long | getPriority()Get Instance priority. | 
| String | getStateIfCreateCvmFailed()Get Indicates which policy will be used in case that CVM instance creation fails. | 
| Tag[] | getTags()Get Tag list. | 
| String | getTaskExecutionDependOn()Get This is the dependency of the subsequent task on the previous task if there is a dependent relationship between them. | 
| Task[] | getTasks()Get Job information | 
| void | setDependences(Dependence[] Dependences)Set Dependency information | 
| void | setJobDescription(String JobDescription)Set Instance description | 
| void | setJobName(String JobName)Set Instance name | 
| void | setNotifications(Notification[] Notifications)Set Notification information | 
| void | setPriority(Long Priority)Set Instance priority. | 
| void | setStateIfCreateCvmFailed(String StateIfCreateCvmFailed)Set Indicates which policy will be used in case that CVM instance creation fails. | 
| void | setTags(Tag[] Tags)Set Tag list. | 
| void | setTaskExecutionDependOn(String TaskExecutionDependOn)Set This is the dependency of the subsequent task on the previous task if there is a dependent relationship between them. | 
| void | setTasks(Task[] Tasks)Set Job information | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Job()
public Job(Job source)
public Task[] getTasks()
public void setTasks(Task[] Tasks)
Tasks - Job informationpublic String getJobName()
public void setJobName(String JobName)
JobName - Instance namepublic String getJobDescription()
public void setJobDescription(String JobDescription)
JobDescription - Instance descriptionpublic Long getPriority()
public void setPriority(Long Priority)
Priority - Instance priority. Tasks (Task) and task instances (TaskInstance) inherit the priority of the instancepublic Dependence[] getDependences()
public void setDependences(Dependence[] Dependences)
Dependences - Dependency informationpublic Notification[] getNotifications()
public void setNotifications(Notification[] Notifications)
Notifications - Notification informationpublic String getTaskExecutionDependOn()
public void setTaskExecutionDependOn(String TaskExecutionDependOn)
TaskExecutionDependOn - This is the dependency of the subsequent task on the previous task if there is a dependent relationship between them. Value range: PRE_TASK_SUCCEED, PRE_TASK_AT_LEAST_PARTLY_SUCCEED, PRE_TASK_FINISHED. Default value: PRE_TASK_SUCCEED.public String getStateIfCreateCvmFailed()
public void setStateIfCreateCvmFailed(String StateIfCreateCvmFailed)
StateIfCreateCvmFailed - Indicates which policy will be used in case that CVM instance creation fails. Value range: FAILED, RUNNABLE. FAILED indicates that the CVM instance creation failure will be processed as an execution failure, while RUNNABLE indicates that the failure will be processed as "keep waiting". Default value: FAILED. StateIfCreateCvmFailed is not valid for submitted jobs for which a compute environment is specified.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Tag list. By setting this parameter, you can bind tags to a job. Each job supports up to 10 tags.Copyright © 2021. All rights reserved.