Package org.cdk8s.plus25.k8s
Class TcpSocketAction.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.TcpSocketAction.Jsii$Proxy
-
- All Implemented Interfaces:
TcpSocketAction,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- TcpSocketAction
@Stability(Stable) @Internal public static final class TcpSocketAction.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TcpSocketAction
An implementation forTcpSocketAction
-
-
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.plus25.k8s.TcpSocketAction
TcpSocketAction.Builder, TcpSocketAction.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(TcpSocketAction.Builder builder)Constructor that initializes the object based on literal property values passed by theTcpSocketAction.Builder.protectedJsii$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()booleanequals(Object o)StringgetHost()Optional: Host name to connect to, defaults to the pod IP.IntOrStringgetPort()Number or name of the port to access on the container.inthashCode()
-
-
-
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(TcpSocketAction.Builder builder)
Constructor that initializes the object based on literal property values passed by theTcpSocketAction.Builder.
-
-
Method Detail
-
getPort
public final IntOrString getPort()
Description copied from interface:TcpSocketActionNumber 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.
- Specified by:
getPortin interfaceTcpSocketAction
-
getHost
public final String getHost()
Description copied from interface:TcpSocketActionOptional: Host name to connect to, defaults to the pod IP.- Specified by:
getHostin interfaceTcpSocketAction
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-