Class EndpointAddress.Jsii$Proxy

  • All Implemented Interfaces:
    EndpointAddress, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    EndpointAddress

    @Stability(Stable)
    @Internal
    public static final class EndpointAddress.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements EndpointAddress
    An implementation for EndpointAddress
    • 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

      • getIp

        public final String getIp()
        Description copied from interface: EndpointAddress
        The IP of this endpoint.

        May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.

        Specified by:
        getIp in interface EndpointAddress
      • getNodeName

        public final String getNodeName()
        Description copied from interface: EndpointAddress
        Optional: Node hosting this endpoint.

        This can be used to determine endpoints local to a node.

        Specified by:
        getNodeName in interface EndpointAddress
      • $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