@Generated(value="software.amazon.awssdk:codegen") public final class RumEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RumEvent.Builder,RumEvent>
A structure that contains the information for one performance event that RUM collects from a user session with your application.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RumEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RumEvent.Builder |
builder() |
String |
details()
A string containing details about the event.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A unique ID for this event.
|
String |
metadata()
Metadata about this event, which contains a JSON serialization of the identity of the user for this session.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RumEvent.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The exact time that this event occurred.
|
RumEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The JSON schema that denotes the type of event this is, such as a page load or a new session.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String details()
A string containing details about the event.
public final String id()
A unique ID for this event.
public final 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.
public final Instant timestamp()
The exact time that this event occurred.
public final String type()
The JSON schema that denotes the type of event this is, such as a page load or a new session.
public RumEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RumEvent.Builder,RumEvent>public static RumEvent.Builder builder()
public static Class<? extends RumEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.