Class FilePaths

    • Method Detail

      • filePath

        public final String filePath()

        Path to the infected or suspicious file on the resource it was detected on.

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

        Returns:
        Path to the infected or suspicious file on the resource it was detected on.

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

      • fileName

        public final String fileName()

        The name of the infected or suspicious file corresponding to the hash.

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

        Returns:
        The name of the infected or suspicious file corresponding to the hash.

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

      • resourceId

        public final String resourceId()

        The Amazon Resource Name (ARN) of the resource on which the threat was detected.

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

        Returns:
        The Amazon Resource Name (ARN) of the resource on which the threat was detected.

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

      • hash

        public final String hash()

        The hash value for the infected or suspicious file.

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

        Returns:
        The hash value for the infected or suspicious file.

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

      • 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)