Package org.cdk8s.plus24.k8s
Class CronJobSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.CronJobSpec.Jsii$Proxy
-
- All Implemented Interfaces:
CronJobSpec
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CronJobSpec
@Stability(Stable) @Internal public static final class CronJobSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CronJobSpec
An implementation forCronJobSpec
-
-
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.CronJobSpec
CronJobSpec.Builder, CronJobSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CronJobSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theCronJobSpec.Builder
.protected
Jsii$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()
boolean
equals(Object o)
String
getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.Number
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.JobTemplateSpec
getJobTemplate()
Specifies the job that will be created when executing a CronJob.String
getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.Number
getStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason.Number
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.String
getTimeZone()
The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.int
hashCode()
-
-
-
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(CronJobSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theCronJobSpec.Builder
.
-
-
Method Detail
-
getJobTemplate
public final JobTemplateSpec getJobTemplate()
Description copied from interface:CronJobSpec
Specifies the job that will be created when executing a CronJob.- Specified by:
getJobTemplate
in interfaceCronJobSpec
-
getSchedule
public final String getSchedule()
Description copied from interface:CronJobSpec
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.- Specified by:
getSchedule
in interfaceCronJobSpec
-
getConcurrencyPolicy
public final String getConcurrencyPolicy()
Description copied from interface:CronJobSpec
Specifies 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:
getConcurrencyPolicy
in interfaceCronJobSpec
-
getFailedJobsHistoryLimit
public final Number getFailedJobsHistoryLimit()
Description copied from interface:CronJobSpec
The number of failed finished jobs to retain.Value must be non-negative integer. Defaults to 1.
Default: 1.
- Specified by:
getFailedJobsHistoryLimit
in interfaceCronJobSpec
-
getStartingDeadlineSeconds
public final Number getStartingDeadlineSeconds()
Description copied from interface:CronJobSpec
Optional 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:
getStartingDeadlineSeconds
in interfaceCronJobSpec
-
getSuccessfulJobsHistoryLimit
public final Number getSuccessfulJobsHistoryLimit()
Description copied from interface:CronJobSpec
The number of successful finished jobs to retain.Value must be non-negative integer. Defaults to 3.
Default: 3.
- Specified by:
getSuccessfulJobsHistoryLimit
in interfaceCronJobSpec
-
getSuspend
public final Boolean getSuspend()
Description copied from interface:CronJobSpec
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.Defaults to false.
Default: false.
- Specified by:
getSuspend
in interfaceCronJobSpec
-
getTimeZone
public final String getTimeZone()
Description copied from interface:CronJobSpec
The 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:
getTimeZone
in interfaceCronJobSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-