Class EventLogEntry

    • Method Detail

      • id

        public final String id()

        The system-generated unique ID of the event.

        Returns:
        The system-generated unique ID of the event.
      • eventName

        public final String eventName()

        The name of the event.

        Returns:
        The name of the event.
      • eventType

        public final String eventType()

        The type of the event.

        Returns:
        The type of the event.
      • eventCategory

        public final String eventCategory()

        The category for the event.

        Returns:
        The category for the event.
      • eventSource

        public final String eventSource()

        The source of the event.

        Returns:
        The source of the event.
      • eventTime

        public final Instant eventTime()

        The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

        Returns:
        The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
      • userIdentity

        public final UserIdentity userIdentity()

        The system-generated unique ID of the user whose actions are recorded in the event.

        Returns:
        The system-generated unique ID of the user whose actions are recorded in the event.
      • projectInformation

        public final ProjectInformation projectInformation()

        Information about the project where the event occurred.

        Returns:
        Information about the project where the event occurred.
      • requestId

        public final String requestId()

        The system-generated unique ID of the request.

        Returns:
        The system-generated unique ID of the request.
      • requestPayload

        public final EventPayload requestPayload()

        Information about the payload of the request.

        Returns:
        Information about the payload of the request.
      • responsePayload

        public final EventPayload responsePayload()

        Information about the payload of the response, if any.

        Returns:
        Information about the payload of the response, if any.
      • errorCode

        public final String errorCode()

        The code of the error, if any.

        Returns:
        The code of the error, if any.
      • sourceIpAddress

        public final String sourceIpAddress()

        The IP address of the user whose actions are recorded in the event.

        Returns:
        The IP address of the user whose actions are recorded in the event.
      • userAgent

        public final String userAgent()

        The user agent whose actions are recorded in the event.

        Returns:
        The user agent whose actions are recorded in the event.
      • 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)