Class DnsRequestAction

    • Method Detail

      • domain

        public final String domain()

        The domain information for the DNS query.

        Returns:
        The domain information for the DNS query.
      • protocol

        public final String protocol()

        The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.

        Returns:
        The network connection protocol observed in the activity that prompted GuardDuty to generate the finding.
      • blocked

        public final Boolean blocked()

        Indicates whether the targeted port is blocked.

        Returns:
        Indicates whether the targeted port is blocked.
      • domainWithSuffix

        public final String domainWithSuffix()

        The second and top level domain involved in the activity that prompted GuardDuty to generate this finding.

        Returns:
        The second and top level domain involved in the activity that prompted GuardDuty to generate this finding.
      • 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)