Package org.cdk8s.plus22
Class ProbeOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus22.ProbeOptions.Jsii$Proxy
-
- All Implemented Interfaces:
ProbeOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ProbeOptions
@Stability(Stable) @Internal public static final class ProbeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ProbeOptions
An implementation forProbeOptions
-
-
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.plus22.ProbeOptions
ProbeOptions.Builder, ProbeOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ProbeOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theProbeOptions.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)NumbergetFailureThreshold()Minimum consecutive failures for the probe to be considered failed after having succeeded.org.cdk8s.DurationgetInitialDelaySeconds()Number of seconds after the container has started before liveness probes are initiated.org.cdk8s.DurationgetPeriodSeconds()How often (in seconds) to perform the probe.NumbergetSuccessThreshold()Minimum consecutive successes for the probe to be considered successful after having failed.org.cdk8s.DurationgetTimeoutSeconds()Number of seconds after which the probe times out.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(ProbeOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theProbeOptions.Builder.
-
-
Method Detail
-
getFailureThreshold
public final Number getFailureThreshold()
Description copied from interface:ProbeOptionsMinimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
Default: 3
- Specified by:
getFailureThresholdin interfaceProbeOptions
-
getInitialDelaySeconds
public final org.cdk8s.Duration getInitialDelaySeconds()
Description copied from interface:ProbeOptionsNumber of seconds after the container has started before liveness probes are initiated.Default: - immediate
- Specified by:
getInitialDelaySecondsin interfaceProbeOptions
-
getPeriodSeconds
public final org.cdk8s.Duration getPeriodSeconds()
Description copied from interface:ProbeOptionsHow 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:
getPeriodSecondsin interfaceProbeOptions
-
getSuccessThreshold
public final Number getSuccessThreshold()
Description copied from interface:ProbeOptionsMinimum 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:
getSuccessThresholdin interfaceProbeOptions
-
getTimeoutSeconds
public final org.cdk8s.Duration getTimeoutSeconds()
Description copied from interface:ProbeOptionsNumber of seconds after which the probe times out.Defaults to 1 second. Minimum value is 1.
Default: Duration.seconds(1)
- Specified by:
getTimeoutSecondsin interfaceProbeOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-