@Stability(value=Stable) @Internal public static final class CommandProbeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CommandProbeOptions
CommandProbeOptionssoftware.amazon.jsii.JsiiObject.InitializationModeCommandProbeOptions.Builder, CommandProbeOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number failureThreshold,
org.cdk8s.Duration initialDelaySeconds,
org.cdk8s.Duration periodSeconds,
Number successThreshold,
org.cdk8s.Duration timeoutSeconds)
Constructor that initializes the object based on literal property values passed by the
CommandProbeOptions.Builder. |
| Modifier and Type | Method and 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() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Number failureThreshold, org.cdk8s.Duration initialDelaySeconds, org.cdk8s.Duration periodSeconds, Number successThreshold, org.cdk8s.Duration timeoutSeconds)
CommandProbeOptions.Builder.public final Number getFailureThreshold()
ProbeOptionsDefaults to 3. Minimum value is 1.
Default: 3
getFailureThreshold in interface ProbeOptionspublic final org.cdk8s.Duration getInitialDelaySeconds()
ProbeOptionsDefault: - immediate
getInitialDelaySeconds in interface ProbeOptionshttps://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probespublic final org.cdk8s.Duration getPeriodSeconds()
ProbeOptionsDefault to 10 seconds. Minimum value is 1.
Default: Duration.seconds(10) Minimum value is 1.
getPeriodSeconds in interface ProbeOptionspublic final Number getSuccessThreshold()
ProbeOptionsMust be 1 for liveness and startup. Minimum value is 1.
Default: 1 Must be 1 for liveness and startup. Minimum value is 1.
getSuccessThreshold in interface ProbeOptionspublic final org.cdk8s.Duration getTimeoutSeconds()
ProbeOptionsDefaults to 1 second. Minimum value is 1.
Default: Duration.seconds(1)
getTimeoutSeconds in interface ProbeOptionshttps://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.