@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-12-10T19:11:23.904Z[Etc/UTC]") public class V1CronJobSpec extends Object
Modifier and Type | Class and Description |
---|---|
static class |
V1CronJobSpec.ConcurrencyPolicyEnum
Specifies how to treat concurrent executions of a Job.
|
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 |
---|
V1CronJobSpec() |
Modifier and Type | Method and Description |
---|---|
V1CronJobSpec |
concurrencyPolicy(V1CronJobSpec.ConcurrencyPolicyEnum concurrencyPolicy) |
boolean |
equals(Object o) |
V1CronJobSpec |
failedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
V1CronJobSpec.ConcurrencyPolicyEnum |
getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
Integer |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V1JobTemplateSpec |
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() |
V1CronJobSpec |
jobTemplate(V1JobTemplateSpec jobTemplate) |
V1CronJobSpec |
schedule(String schedule) |
void |
setConcurrencyPolicy(V1CronJobSpec.ConcurrencyPolicyEnum concurrencyPolicy) |
void |
setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit) |
void |
setJobTemplate(V1JobTemplateSpec jobTemplate) |
void |
setSchedule(String schedule) |
void |
setStartingDeadlineSeconds(Long startingDeadlineSeconds) |
void |
setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
void |
setSuspend(Boolean suspend) |
V1CronJobSpec |
startingDeadlineSeconds(Long startingDeadlineSeconds) |
V1CronJobSpec |
successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) |
V1CronJobSpec |
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 V1CronJobSpec concurrencyPolicy(V1CronJobSpec.ConcurrencyPolicyEnum concurrencyPolicy)
@Nullable public V1CronJobSpec.ConcurrencyPolicyEnum getConcurrencyPolicy()
public void setConcurrencyPolicy(V1CronJobSpec.ConcurrencyPolicyEnum concurrencyPolicy)
public V1CronJobSpec failedJobsHistoryLimit(Integer failedJobsHistoryLimit)
@Nullable public Integer getFailedJobsHistoryLimit()
public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)
public V1CronJobSpec jobTemplate(V1JobTemplateSpec jobTemplate)
public V1JobTemplateSpec getJobTemplate()
public void setJobTemplate(V1JobTemplateSpec jobTemplate)
public V1CronJobSpec schedule(String schedule)
public String getSchedule()
public void setSchedule(String schedule)
public V1CronJobSpec startingDeadlineSeconds(Long startingDeadlineSeconds)
@Nullable public Long getStartingDeadlineSeconds()
public void setStartingDeadlineSeconds(Long startingDeadlineSeconds)
public V1CronJobSpec successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
@Nullable public Integer getSuccessfulJobsHistoryLimit()
public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)
public V1CronJobSpec suspend(Boolean suspend)
@Nullable public Boolean getSuspend()
public void setSuspend(Boolean suspend)
Copyright © 2022. All rights reserved.