Package org.cdk8s.plus24.k8s
Class CronJobSpecV1Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.CronJobSpecV1Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
CronJobSpecV1Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CronJobSpecV1Beta1
@Stability(Stable) @Internal public static final class CronJobSpecV1Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CronJobSpecV1Beta1
An implementation forCronJobSpecV1Beta1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.CronJobSpecV1Beta1
CronJobSpecV1Beta1.Builder, CronJobSpecV1Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CronJobSpecV1Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by theCronJobSpecV1Beta1.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetConcurrencyPolicy()Specifies how to treat concurrent executions of a Job.NumbergetFailedJobsHistoryLimit()The number of failed finished jobs to retain.JobTemplateSpecV1Beta1getJobTemplate()Specifies the job that will be created when executing a CronJob.StringgetSchedule()The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.NumbergetStartingDeadlineSeconds()Optional deadline in seconds for starting the job if it misses scheduled time for any reason.NumbergetSuccessfulJobsHistoryLimit()The number of successful finished jobs to retain.BooleangetSuspend()This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.StringgetTimeZone()The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CronJobSpecV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theCronJobSpecV1Beta1.Builder.
-
-
Method Detail
-
getJobTemplate
public final JobTemplateSpecV1Beta1 getJobTemplate()
Description copied from interface:CronJobSpecV1Beta1Specifies the job that will be created when executing a CronJob.- Specified by:
getJobTemplatein interfaceCronJobSpecV1Beta1
-
getSchedule
public final String getSchedule()
Description copied from interface:CronJobSpecV1Beta1The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.- Specified by:
getSchedulein interfaceCronJobSpecV1Beta1
-
getConcurrencyPolicy
public final String getConcurrencyPolicy()
Description copied from interface:CronJobSpecV1Beta1Specifies how to treat concurrent executions of a Job.Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
- Specified by:
getConcurrencyPolicyin interfaceCronJobSpecV1Beta1
-
getFailedJobsHistoryLimit
public final Number getFailedJobsHistoryLimit()
Description copied from interface:CronJobSpecV1Beta1The number of failed finished jobs to retain.This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
Default: 1.
- Specified by:
getFailedJobsHistoryLimitin interfaceCronJobSpecV1Beta1
-
getStartingDeadlineSeconds
public final Number getStartingDeadlineSeconds()
Description copied from interface:CronJobSpecV1Beta1Optional deadline in seconds for starting the job if it misses scheduled time for any reason.Missed jobs executions will be counted as failed ones.
- Specified by:
getStartingDeadlineSecondsin interfaceCronJobSpecV1Beta1
-
getSuccessfulJobsHistoryLimit
public final Number getSuccessfulJobsHistoryLimit()
Description copied from interface:CronJobSpecV1Beta1The number of successful finished jobs to retain.This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.
Default: 3.
- Specified by:
getSuccessfulJobsHistoryLimitin interfaceCronJobSpecV1Beta1
-
getSuspend
public final Boolean getSuspend()
Description copied from interface:CronJobSpecV1Beta1This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.Defaults to false.
Default: false.
- Specified by:
getSuspendin interfaceCronJobSpecV1Beta1
-
getTimeZone
public final String getTimeZone()
Description copied from interface:CronJobSpecV1Beta1The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will rely on the time zone of the kube-controller-manager process. ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate.- Specified by:
getTimeZonein interfaceCronJobSpecV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-