Class CronJobSpecV1Beta1.Jsii$Proxy

    • 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

      • getConcurrencyPolicy

        public final String getConcurrencyPolicy()
        Description copied from interface: CronJobSpecV1Beta1
        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 CronJobSpecV1Beta1
      • getFailedJobsHistoryLimit

        public final Number getFailedJobsHistoryLimit()
        Description copied from interface: CronJobSpecV1Beta1
        The 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:
        getFailedJobsHistoryLimit in interface CronJobSpecV1Beta1
      • getStartingDeadlineSeconds

        public final Number getStartingDeadlineSeconds()
        Description copied from interface: CronJobSpecV1Beta1
        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 CronJobSpecV1Beta1
      • getSuccessfulJobsHistoryLimit

        public final Number getSuccessfulJobsHistoryLimit()
        Description copied from interface: CronJobSpecV1Beta1
        The 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:
        getSuccessfulJobsHistoryLimit in interface CronJobSpecV1Beta1
      • getSuspend

        public final Boolean getSuspend()
        Description copied from interface: CronJobSpecV1Beta1
        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 CronJobSpecV1Beta1
      • getTimeZone

        public final String getTimeZone()
        Description copied from interface: CronJobSpecV1Beta1
        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 CronJobSpecV1Beta1
      • $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