Class CommandProbeOptions.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

      • getFailureThreshold

        public final Number getFailureThreshold()
        Description copied from interface: ProbeOptions
        Minimum consecutive failures for the probe to be considered failed after having succeeded.

        Defaults to 3. Minimum value is 1.

        Default: 3

        Specified by:
        getFailureThreshold in interface ProbeOptions
      • getPeriodSeconds

        public final org.cdk8s.Duration getPeriodSeconds()
        Description copied from interface: ProbeOptions
        How often (in seconds) to perform the probe.

        Default to 10 seconds. Minimum value is 1.

        Default: Duration.seconds(10) Minimum value is 1.

        Specified by:
        getPeriodSeconds in interface ProbeOptions
      • getSuccessThreshold

        public final Number getSuccessThreshold()
        Description copied from interface: ProbeOptions
        Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.

        Must be 1 for liveness and startup. Minimum value is 1.

        Default: 1 Must be 1 for liveness and startup. Minimum value is 1.

        Specified by:
        getSuccessThreshold in interface ProbeOptions
      • $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