Class 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 for CronJobSpec
    • 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.
    • Method Detail

      • 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 interface CronJobSpec
      • 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 interface CronJobSpec
      • 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 interface CronJobSpec
      • 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 interface CronJobSpec
      • 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 interface CronJobSpec
      • 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 interface CronJobSpec
      • 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 interface CronJobSpec
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object