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 Summary
Modifier and TypeMethodDescriptionA string containing details about the event.A unique ID for this event.Metadata about this event, which contains a JSON serialization of the identity of the user for this session.The exact time that this event occurred.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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.
-