Package org.cdk8s.plus24.k8s
Class TcpSocketAction.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.TcpSocketAction
TcpSocketAction.Builder, TcpSocketAction.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(TcpSocketAction.Builder builder)
Constructor that initializes the object based on literal property values passed by theTcpSocketAction.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)
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.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(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:TcpSocketAction
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.
- Specified by:
getPort
in interfaceTcpSocketAction
-
getHost
public final String getHost()
Description copied from interface:TcpSocketAction
Optional: Host name to connect to, defaults to the pod IP.- Specified by:
getHost
in interfaceTcpSocketAction
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-