Package org.cdk8s.plus24.k8s
Interface TcpSocketAction
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TcpSocketAction.Jsii$Proxy
@Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)", date="2023-05-05T16:22:34.273Z") @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 class
TcpSocketAction.Builder
A builder forTcpSocketAction
static class
TcpSocketAction.Jsii$Proxy
An implementation forTcpSocketAction
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TcpSocketAction.Builder
builder()
default String
getHost()
Optional: Host name to connect to, defaults to the pod IP.IntOrString
getPort()
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.Builder
ofTcpSocketAction
-
-