Class 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 for TcpSocketAction
    • 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.
    • 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 interface TcpSocketAction
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object