Package org.cdk8s.plus25.k8s
Interface TcpSocketAction
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TcpSocketAction.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.840Z") @Stability(Stable) public interface TcpSocketAction extends software.amazon.jsii.JsiiSerializable
TCPSocketAction describes an action based on opening a socket.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTcpSocketAction.BuilderA builder forTcpSocketActionstatic classTcpSocketAction.Jsii$ProxyAn implementation forTcpSocketAction
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TcpSocketAction.Builderbuilder()default StringgetHost()Optional: Host name to connect to, defaults to the pod IP.IntOrStringgetPort()Number or name of the port to access on the container.
-
-
-
Method Detail
-
getPort
@Stability(Stable) @NotNull IntOrString getPort()
Number or name of the port to access on the container.Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
-
getHost
@Stability(Stable) @Nullable default String getHost()
Optional: Host name to connect to, defaults to the pod IP.
-
builder
@Stability(Stable) static TcpSocketAction.Builder builder()
- Returns:
- a
TcpSocketAction.BuilderofTcpSocketAction
-
-