@Generated(value="org.jsonschema2pojo") public class CronJobSpec extends Object implements KubernetesResource
| Constructor and Description |
|---|
CronJobSpec()
No args constructor for use in serialization
|
CronJobSpec(String concurrencyPolicy,
Integer failedJobsHistoryLimit,
JobTemplateSpec jobTemplate,
String schedule,
Long startingDeadlineSeconds,
Integer successfulJobsHistoryLimit,
Boolean suspend) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getConcurrencyPolicy() |
Integer |
getFailedJobsHistoryLimit() |
JobTemplateSpec |
getJobTemplate() |
String |
getSchedule() |
Long |
getStartingDeadlineSeconds() |
Integer |
getSuccessfulJobsHistoryLimit() |
Boolean |
getSuspend() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setConcurrencyPolicy(String concurrencyPolicy) |
void |
setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
void |
setJobTemplate(JobTemplateSpec jobTemplate) |
void |
setSchedule(String schedule) |
void |
setStartingDeadlineSeconds(Long startingDeadlineSeconds) |
void |
setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
void |
setSuspend(Boolean suspend) |
public CronJobSpec()
public CronJobSpec(String concurrencyPolicy, Integer failedJobsHistoryLimit, JobTemplateSpec jobTemplate, String schedule, Long startingDeadlineSeconds, Integer successfulJobsHistoryLimit, Boolean suspend)
suspend - schedule - jobTemplate - startingDeadlineSeconds - concurrencyPolicy - failedJobsHistoryLimit - successfulJobsHistoryLimit - public String getConcurrencyPolicy()
public void setConcurrencyPolicy(String concurrencyPolicy)
concurrencyPolicy - The concurrencyPolicypublic Integer getFailedJobsHistoryLimit()
public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
failedJobsHistoryLimit - The failedJobsHistoryLimitpublic JobTemplateSpec getJobTemplate()
public void setJobTemplate(JobTemplateSpec jobTemplate)
jobTemplate - The jobTemplatepublic String getSchedule()
public void setSchedule(String schedule)
schedule - The schedulepublic Long getStartingDeadlineSeconds()
public void setStartingDeadlineSeconds(Long startingDeadlineSeconds)
startingDeadlineSeconds - The startingDeadlineSecondspublic Integer getSuccessfulJobsHistoryLimit()
public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
successfulJobsHistoryLimit - The successfulJobsHistoryLimitpublic Boolean getSuspend()
public void setSuspend(Boolean suspend)
suspend - The suspendCopyright © 2011–2017 Red Hat. All rights reserved.