Interface RumEvent.Builder

    • Method Detail

      • details

        RumEvent.Builder details​(String details)

        A string containing details about the event.

        Parameters:
        details - A string containing details about the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        RumEvent.Builder id​(String id)

        A unique ID for this event.

        Parameters:
        id - A unique ID for this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadata

        RumEvent.Builder metadata​(String metadata)

        Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

        Parameters:
        metadata - Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        RumEvent.Builder timestamp​(Instant timestamp)

        The exact time that this event occurred.

        Parameters:
        timestamp - The exact time that this event occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        RumEvent.Builder type​(String type)

        The JSON schema that denotes the type of event this is, such as a page load or a new session.

        Parameters:
        type - The JSON schema that denotes the type of event this is, such as a page load or a new session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.