Package org.cdk8s.plus24
Class CommandProbeOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.CommandProbeOptions.Jsii$Proxy
-
- All Implemented Interfaces:
CommandProbeOptions
,ProbeOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CommandProbeOptions
@Stability(Stable) @Internal public static final class CommandProbeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CommandProbeOptions
An implementation forCommandProbeOptions
-
-
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.CommandProbeOptions
CommandProbeOptions.Builder, CommandProbeOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CommandProbeOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theCommandProbeOptions.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)
Number
getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded.org.cdk8s.Duration
getInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated.org.cdk8s.Duration
getPeriodSeconds()
How often (in seconds) to perform the probe.Number
getSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed.org.cdk8s.Duration
getTimeoutSeconds()
Number of seconds after which the probe times out.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(CommandProbeOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theCommandProbeOptions.Builder
.
-
-
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 interfaceProbeOptions
-
getInitialDelaySeconds
public final org.cdk8s.Duration getInitialDelaySeconds()
Description copied from interface:ProbeOptions
Number of seconds after the container has started before liveness probes are initiated.Default: - immediate
- Specified by:
getInitialDelaySeconds
in interfaceProbeOptions
- See Also:
- https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
-
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 interfaceProbeOptions
-
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 interfaceProbeOptions
-
getTimeoutSeconds
public final org.cdk8s.Duration getTimeoutSeconds()
Description copied from interface:ProbeOptions
Number of seconds after which the probe times out.Defaults to 1 second. Minimum value is 1.
Default: Duration.seconds(1)
- Specified by:
getTimeoutSeconds
in interfaceProbeOptions
- See Also:
- https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-