Class RumEvent
- java.lang.Object
-
- software.amazon.awssdk.services.rum.model.RumEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RumEvent.Builder,RumEvent>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRumEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RumEvent.Builderbuilder()Stringdetails()A string containing details about the event.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A unique ID for this event.Stringmetadata()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()Instanttimestamp()The exact time that this event occurred.RumEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The JSON schema that denotes the type of event this is, such as a page load or a new session.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
details
public final String details()
A string containing details about the event.
- Returns:
- A string containing details about the event.
-
id
public final String id()
A unique ID for this event.
- Returns:
- A unique ID for this event.
-
metadata
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.
- Returns:
- 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.
-
timestamp
public final Instant timestamp()
The exact time that this event occurred.
- Returns:
- The exact time that this event occurred.
-
type
public final String type()
The JSON schema that denotes the type of event this is, such as a page load or a new session.
- Returns:
- The JSON schema that denotes the type of event this is, such as a page load or a new session.
-
toBuilder
public RumEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RumEvent.Builder,RumEvent>
-
builder
public static RumEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends RumEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-