Package org.cdk8s.plus22
Interface TcpSocketProbeOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ProbeOptions
- All Known Implementing Classes:
TcpSocketProbeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-11T03:06:35.129Z") @Stability(Stable) public interface TcpSocketProbeOptions extends software.amazon.jsii.JsiiSerializable, ProbeOptions
Options for `Probe.fromTcpSocket()`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTcpSocketProbeOptions.BuilderA builder forTcpSocketProbeOptionsstatic classTcpSocketProbeOptions.Jsii$ProxyAn implementation forTcpSocketProbeOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static TcpSocketProbeOptions.Builderbuilder()default StringgetHost()The host name to connect to on the container.default NumbergetPort()The TCP port to connect to on the container.-
Methods inherited from interface org.cdk8s.plus22.ProbeOptions
getFailureThreshold, getInitialDelaySeconds, getPeriodSeconds, getSuccessThreshold, getTimeoutSeconds
-
-
-
-
Method Detail
-
getHost
@Stability(Stable) @Nullable default String getHost()
The host name to connect to on the container.Default: - defaults to the pod IP
-
getPort
@Stability(Stable) @Nullable default Number getPort()
The TCP port to connect to on the container.Default: - defaults to `container.port`.
-
builder
@Stability(Stable) static TcpSocketProbeOptions.Builder builder()
- Returns:
- a
TcpSocketProbeOptions.BuilderofTcpSocketProbeOptions
-
-