Class CronJobSpec
java.lang.Object
io.fabric8.kubernetes.api.model.batch.CronJobSpec
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class CronJobSpec extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CronJobSpec()No args constructor for use in serializationCronJobSpec(String concurrencyPolicy, Integer failedJobsHistoryLimit, JobTemplateSpec jobTemplate, String schedule, Long startingDeadlineSeconds, Integer successfulJobsHistoryLimit, Boolean suspend) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()StringgetConcurrencyPolicy()IntegergetFailedJobsHistoryLimit()JobTemplateSpecgetJobTemplate()StringgetSchedule()LonggetStartingDeadlineSeconds()IntegergetSuccessfulJobsHistoryLimit()BooleangetSuspend()voidsetAdditionalProperty(String name, Object value)voidsetConcurrencyPolicy(String concurrencyPolicy)voidsetFailedJobsHistoryLimit(Integer failedJobsHistoryLimit)voidsetJobTemplate(JobTemplateSpec jobTemplate)voidsetSchedule(String schedule)voidsetStartingDeadlineSeconds(Long startingDeadlineSeconds)voidsetSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit)voidsetSuspend(Boolean suspend)
-
Constructor Details
-
CronJobSpec
public CronJobSpec()No args constructor for use in serialization -
CronJobSpec
public CronJobSpec(String concurrencyPolicy, Integer failedJobsHistoryLimit, JobTemplateSpec jobTemplate, String schedule, Long startingDeadlineSeconds, Integer successfulJobsHistoryLimit, Boolean suspend)- Parameters:
suspend-schedule-jobTemplate-startingDeadlineSeconds-concurrencyPolicy-failedJobsHistoryLimit-successfulJobsHistoryLimit-
-
-
Method Details
-
getConcurrencyPolicy
- Returns:
- The concurrencyPolicy
-
setConcurrencyPolicy
- Parameters:
concurrencyPolicy- The concurrencyPolicy
-
getFailedJobsHistoryLimit
- Returns:
- The failedJobsHistoryLimit
-
setFailedJobsHistoryLimit
- Parameters:
failedJobsHistoryLimit- The failedJobsHistoryLimit
-
getJobTemplate
- Returns:
- The jobTemplate
-
setJobTemplate
- Parameters:
jobTemplate- The jobTemplate
-
getSchedule
- Returns:
- The schedule
-
setSchedule
- Parameters:
schedule- The schedule
-
getStartingDeadlineSeconds
- Returns:
- The startingDeadlineSeconds
-
setStartingDeadlineSeconds
- Parameters:
startingDeadlineSeconds- The startingDeadlineSeconds
-
getSuccessfulJobsHistoryLimit
- Returns:
- The successfulJobsHistoryLimit
-
setSuccessfulJobsHistoryLimit
- Parameters:
successfulJobsHistoryLimit- The successfulJobsHistoryLimit
-
getSuspend
- Returns:
- The suspend
-
setSuspend
- Parameters:
suspend- The suspend
-
getAdditionalProperties
-
setAdditionalProperty
-