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:
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionstatic RumEvent.Builderbuilder()final Stringdetails()A string containing details about the event.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()A unique ID for this event.final Stringmetadata()Metadata about this event, which contains a JSON serialization of the identity of the user for this session.static Class<? extends RumEvent.Builder> final InstantThe exact time that this event occurred.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringtype()The JSON schema that denotes the type of event this is, such as a page load or a new session.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
details
A string containing details about the event.
- Returns:
 - A string containing details about the event.
 
 - 
id
A unique ID for this event.
- Returns:
 - A unique ID for this event.
 
 - 
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
The exact time that this event occurred.
- Returns:
 - The exact time that this event occurred.
 
 - 
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<RumEvent.Builder,RumEvent> - Returns:
 - a builder for type T
 
 - 
builder
 - 
serializableBuilderClass
 - 
hashCode
public final int hashCode() - 
equals
 - 
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
 equalsBySdkFieldsin interfaceSdkPojo- Parameters:
 obj- the object to be compared with- Returns:
 - true if the other object equals to this object by sdk fields, false otherwise.
 
 - 
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. - 
getValueForField
 - 
sdkFields
 
 -