Class NetworkConnectionAction

    • Method Detail

      • blocked

        public final Boolean blocked()

        Indicates whether EC2 blocked the network connection to your instance.

        Returns:
        Indicates whether EC2 blocked the network connection to your instance.
      • connectionDirection

        public final String connectionDirection()

        The network connection direction.

        Returns:
        The network connection direction.
      • localPortDetails

        public final LocalPortDetails localPortDetails()

        The local port information of the connection.

        Returns:
        The local port information of the connection.
      • protocol

        public final String protocol()

        The network connection protocol.

        Returns:
        The network connection protocol.
      • localIpDetails

        public final LocalIpDetails localIpDetails()

        The local IP information of the connection.

        Returns:
        The local IP information of the connection.
      • remoteIpDetails

        public final RemoteIpDetails remoteIpDetails()

        The remote IP information of the connection.

        Returns:
        The remote IP information of the connection.
      • remotePortDetails

        public final RemotePortDetails remotePortDetails()

        The remote port information of the connection.

        Returns:
        The remote port information of the connection.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)