Interface RumEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RumEvent.Builder,RumEvent>,SdkBuilder<RumEvent.Builder,RumEvent>,SdkPojo
- Enclosing class:
- RumEvent
public static interface RumEvent.Builder extends SdkPojo, CopyableBuilder<RumEvent.Builder,RumEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RumEvent.Builderdetails(String details)A string containing details about the event.RumEvent.Builderid(String id)A unique ID for this event.RumEvent.Buildermetadata(String metadata)Metadata about this event, which contains a JSON serialization of the identity of the user for this session.RumEvent.Buildertimestamp(Instant timestamp)The exact time that this event occurred.RumEvent.Buildertype(String type)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, sdkFields
-
-
-
-
Method Detail
-
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
RumEvent.Builder id(String 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
RumEvent.Builder type(String 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.
-
-