@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[Etc/UTC]") public class V2alpha1CronJobSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CONCURRENCY_POLICY |
static String |
SERIALIZED_NAME_FAILED_JOBS_HISTORY_LIMIT |
static String |
SERIALIZED_NAME_JOB_TEMPLATE |
static String |
SERIALIZED_NAME_SCHEDULE |
static String |
SERIALIZED_NAME_STARTING_DEADLINE_SECONDS |
static String |
SERIALIZED_NAME_SUCCESSFUL_JOBS_HISTORY_LIMIT |
static String |
SERIALIZED_NAME_SUSPEND |
Constructor and Description |
---|
V2alpha1CronJobSpec() |
Modifier and Type | Method and Description |
---|---|
V2alpha1CronJobSpec |
concurrencyPolicy(String concurrencyPolicy) |
boolean |
equals(Object o) |
V2alpha1CronJobSpec |
failedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
String |
getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
Integer |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V2alpha1JobTemplateSpec |
getJobTemplate()
Get jobTemplate
|
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.
|
Boolean |
getSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already
started executions.
|
int |
hashCode() |
V2alpha1CronJobSpec |
jobTemplate(V2alpha1JobTemplateSpec jobTemplate) |
V2alpha1CronJobSpec |
schedule(String schedule) |
void |
setConcurrencyPolicy(String concurrencyPolicy) |
void |
setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
void |
setJobTemplate(V2alpha1JobTemplateSpec jobTemplate) |
void |
setSchedule(String schedule) |
void |
setStartingDeadlineSeconds(Long startingDeadlineSeconds) |
void |
setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
void |
setSuspend(Boolean suspend) |
V2alpha1CronJobSpec |
startingDeadlineSeconds(Long startingDeadlineSeconds) |
V2alpha1CronJobSpec |
successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
V2alpha1CronJobSpec |
suspend(Boolean suspend) |
String |
toString() |
public static final String SERIALIZED_NAME_CONCURRENCY_POLICY
public static final String SERIALIZED_NAME_FAILED_JOBS_HISTORY_LIMIT
public static final String SERIALIZED_NAME_JOB_TEMPLATE
public static final String SERIALIZED_NAME_SCHEDULE
public static final String SERIALIZED_NAME_STARTING_DEADLINE_SECONDS
public static final String SERIALIZED_NAME_SUCCESSFUL_JOBS_HISTORY_LIMIT
public static final String SERIALIZED_NAME_SUSPEND
public V2alpha1CronJobSpec concurrencyPolicy(String concurrencyPolicy)
@Nullable public String getConcurrencyPolicy()
public void setConcurrencyPolicy(String concurrencyPolicy)
public V2alpha1CronJobSpec failedJobsHistoryLimit(Integer failedJobsHistoryLimit)
@Nullable public Integer getFailedJobsHistoryLimit()
public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
public V2alpha1CronJobSpec jobTemplate(V2alpha1JobTemplateSpec jobTemplate)
public V2alpha1JobTemplateSpec getJobTemplate()
public void setJobTemplate(V2alpha1JobTemplateSpec jobTemplate)
public V2alpha1CronJobSpec schedule(String schedule)
public String getSchedule()
public void setSchedule(String schedule)
public V2alpha1CronJobSpec startingDeadlineSeconds(Long startingDeadlineSeconds)
@Nullable public Long getStartingDeadlineSeconds()
public void setStartingDeadlineSeconds(Long startingDeadlineSeconds)
public V2alpha1CronJobSpec successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
@Nullable public Integer getSuccessfulJobsHistoryLimit()
public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
public V2alpha1CronJobSpec suspend(Boolean suspend)
@Nullable public Boolean getSuspend()
public void setSuspend(Boolean suspend)
Copyright © 2020. All rights reserved.