public class V1beta1CronJobSpec extends Object
Constructor and Description |
---|
V1beta1CronJobSpec() |
Modifier and Type | Method and Description |
---|---|
V1beta1CronJobSpec |
concurrencyPolicy(String concurrencyPolicy) |
boolean |
equals(Object o) |
V1beta1CronJobSpec |
failedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
String |
getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
Integer |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V1beta1JobTemplateSpec |
getJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
String |
getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
Long |
getStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason.
|
Integer |
getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain.
|
int |
hashCode() |
Boolean |
isSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.
|
V1beta1CronJobSpec |
jobTemplate(V1beta1JobTemplateSpec jobTemplate) |
V1beta1CronJobSpec |
schedule(String schedule) |
void |
setConcurrencyPolicy(String concurrencyPolicy) |
void |
setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
void |
setJobTemplate(V1beta1JobTemplateSpec jobTemplate) |
void |
setSchedule(String schedule) |
void |
setStartingDeadlineSeconds(Long startingDeadlineSeconds) |
void |
setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
void |
setSuspend(Boolean suspend) |
V1beta1CronJobSpec |
startingDeadlineSeconds(Long startingDeadlineSeconds) |
V1beta1CronJobSpec |
successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
V1beta1CronJobSpec |
suspend(Boolean suspend) |
String |
toString() |
public V1beta1CronJobSpec concurrencyPolicy(String concurrencyPolicy)
public String getConcurrencyPolicy()
public void setConcurrencyPolicy(String concurrencyPolicy)
public V1beta1CronJobSpec failedJobsHistoryLimit(Integer failedJobsHistoryLimit)
public Integer getFailedJobsHistoryLimit()
public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
public V1beta1CronJobSpec jobTemplate(V1beta1JobTemplateSpec jobTemplate)
public V1beta1JobTemplateSpec getJobTemplate()
public void setJobTemplate(V1beta1JobTemplateSpec jobTemplate)
public V1beta1CronJobSpec schedule(String schedule)
public String getSchedule()
public void setSchedule(String schedule)
public V1beta1CronJobSpec startingDeadlineSeconds(Long startingDeadlineSeconds)
public Long getStartingDeadlineSeconds()
public void setStartingDeadlineSeconds(Long startingDeadlineSeconds)
public V1beta1CronJobSpec successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
public Integer getSuccessfulJobsHistoryLimit()
public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
public V1beta1CronJobSpec suspend(Boolean suspend)
public Boolean isSuspend()
public void setSuspend(Boolean suspend)
Copyright © 2018. All rights reserved.