Class CronJob
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iecp.v20210914.models.CronJob
-
public class CronJob extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConcurrencyPolicy()Get job并行策略(Allow|Forbid|Replace)JobgetJob()Get Job配置StringgetSchedule()Get 调度配置LonggetStartingDeadlineSeconds()Get 运行时间voidsetConcurrencyPolicy(String ConcurrencyPolicy)Set job并行策略(Allow|Forbid|Replace)voidsetJob(Job Job)Set Job配置voidsetSchedule(String Schedule)Set 调度配置voidsetStartingDeadlineSeconds(Long StartingDeadlineSeconds)Set 运行时间voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CronJob
public CronJob()
-
CronJob
public CronJob(CronJob 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.
-
-
Method Detail
-
getSchedule
public String getSchedule()
Get 调度配置- Returns:
- Schedule 调度配置
-
setSchedule
public void setSchedule(String Schedule)
Set 调度配置- Parameters:
Schedule- 调度配置
-
getStartingDeadlineSeconds
public Long getStartingDeadlineSeconds()
Get 运行时间- Returns:
- StartingDeadlineSeconds 运行时间
-
setStartingDeadlineSeconds
public void setStartingDeadlineSeconds(Long StartingDeadlineSeconds)
Set 运行时间- Parameters:
StartingDeadlineSeconds- 运行时间
-
getConcurrencyPolicy
public String getConcurrencyPolicy()
Get job并行策略(Allow|Forbid|Replace)- Returns:
- ConcurrencyPolicy job并行策略(Allow|Forbid|Replace)
-
setConcurrencyPolicy
public void setConcurrencyPolicy(String ConcurrencyPolicy)
Set job并行策略(Allow|Forbid|Replace)- Parameters:
ConcurrencyPolicy- job并行策略(Allow|Forbid|Replace)
-
getJob
public Job getJob()
Get Job配置- Returns:
- Job Job配置
-
setJob
public void setJob(Job Job)
Set Job配置- Parameters:
Job- Job配置
-
-