Package org.cdk8s.plus24
Class HttpGetProbeOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.HttpGetProbeOptions.Jsii$Proxy
-
- All Implemented Interfaces:
HttpGetProbeOptions
,ProbeOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- HttpGetProbeOptions
@Stability(Stable) @Internal public static final class HttpGetProbeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpGetProbeOptions
An implementation forHttpGetProbeOptions
-
-
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.HttpGetProbeOptions
HttpGetProbeOptions.Builder, HttpGetProbeOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(HttpGetProbeOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theHttpGetProbeOptions.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
getPort()
The TCP port to use when sending the GET request.ConnectionScheme
getScheme()
Scheme to use for connecting to the host (HTTP or HTTPS).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(HttpGetProbeOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theHttpGetProbeOptions.Builder
.
-
-
Method Detail
-
getPort
public final Number getPort()
Description copied from interface:HttpGetProbeOptions
The TCP port to use when sending the GET request.Default: - defaults to `container.port`.
- Specified by:
getPort
in interfaceHttpGetProbeOptions
-
getScheme
public final ConnectionScheme getScheme()
Description copied from interface:HttpGetProbeOptions
Scheme to use for connecting to the host (HTTP or HTTPS).Default: ConnectionScheme.HTTP
- Specified by:
getScheme
in interfaceHttpGetProbeOptions
-
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
-
-