Interface RumEvent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RumEvent.Builder,RumEvent>, SdkBuilder<RumEvent.Builder,RumEvent>, SdkPojo
Enclosing class:
RumEvent

@Mutable @NotThreadSafe public static interface RumEvent.Builder extends SdkPojo, CopyableBuilder<RumEvent.Builder,RumEvent>
  • Method Details

    • 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

      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

      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.