| Package | Description |
|---|---|
| software.amazon.awssdk.services.personalizeevents.model |
| Modifier and Type | Method and Description |
|---|---|
static Event.Builder |
Event.builder() |
Event.Builder |
Event.Builder.eventId(String eventId)
An ID associated with the event.
|
Event.Builder |
Event.Builder.eventType(String eventType)
The type of event, such as click or download.
|
Event.Builder |
Event.Builder.eventValue(Float eventValue)
The event value that corresponds to the
EVENT_VALUE field of the Interactions schema. |
Event.Builder |
Event.Builder.impression(Collection<String> impression)
A list of item IDs that represents the sequence of items you have shown the user.
|
Event.Builder |
Event.Builder.impression(String... impression)
A list of item IDs that represents the sequence of items you have shown the user.
|
Event.Builder |
Event.Builder.itemId(String itemId)
The item ID key that corresponds to the
ITEM_ID field of the Interactions schema. |
default Event.Builder |
Event.Builder.metricAttribution(Consumer<MetricAttribution.Builder> metricAttribution)
Contains information about the metric attribution associated with an event.
|
Event.Builder |
Event.Builder.metricAttribution(MetricAttribution metricAttribution)
Contains information about the metric attribution associated with an event.
|
Event.Builder |
Event.Builder.properties(String properties)
A string map of event-specific data that you might choose to record.
|
Event.Builder |
Event.Builder.recommendationId(String recommendationId)
The ID of the list of recommendations that contains the item the user interacted with.
|
Event.Builder |
Event.Builder.sentAt(Instant sentAt)
The timestamp (in Unix time) on the client side when the event occurred.
|
Event.Builder |
Event.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Event.Builder> |
Event.serializableBuilderClass() |
Copyright © 2023. All rights reserved.