Class NetworkConnectionAction

    • Method Detail

      • connectionDirection

        public final String connectionDirection()

        The direction of the network connection request (IN or OUT).

        Returns:
        The direction of the network connection request (IN or OUT).
      • remoteIpDetails

        public final ActionRemoteIpDetails remoteIpDetails()

        Information about the remote IP address that issued the network connection request.

        Returns:
        Information about the remote IP address that issued the network connection request.
      • remotePortDetails

        public final ActionRemotePortDetails remotePortDetails()

        Information about the port on the remote IP address.

        Returns:
        Information about the port on the remote IP address.
      • localPortDetails

        public final ActionLocalPortDetails localPortDetails()

        Information about the port on the EC2 instance.

        Returns:
        Information about the port on the EC2 instance.
      • protocol

        public final String protocol()

        The protocol used to make the network connection request.

        Length Constraints: Minimum length of 1. Maximum length of 64.

        Returns:
        The protocol used to make the network connection request.

        Length Constraints: Minimum length of 1. Maximum length of 64.

      • blocked

        public final Boolean blocked()

        Indicates whether the network connection attempt was blocked.

        Returns:
        Indicates whether the network connection attempt was blocked.
      • 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)