public static interface PutEventsRequest.Builder extends PersonalizeEventsRequest.Builder, SdkPojo, CopyableBuilder<PutEventsRequest.Builder,PutEventsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutEventsRequest.Builder |
eventList(Collection<Event> eventList)
A list of event data from the session.
|
PutEventsRequest.Builder |
eventList(Consumer<Event.Builder>... eventList)
A list of event data from the session.
|
PutEventsRequest.Builder |
eventList(Event... eventList)
A list of event data from the session.
|
PutEventsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutEventsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutEventsRequest.Builder |
sessionId(String sessionId)
The session ID associated with the user's visit.
|
PutEventsRequest.Builder |
trackingId(String trackingId)
The tracking ID for the event.
|
PutEventsRequest.Builder |
userId(String userId)
The user associated with the event.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutEventsRequest.Builder trackingId(String trackingId)
The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.
trackingId - The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.PutEventsRequest.Builder userId(String userId)
The user associated with the event.
userId - The user associated with the event.PutEventsRequest.Builder sessionId(String sessionId)
The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information, see Recording Events.
sessionId - The session ID associated with the user's visit. Your application generates the sessionId when a user
first visits your website or uses your application. Amazon Personalize uses the sessionId to associate
events with the user before they log in. For more information, see Recording Events.PutEventsRequest.Builder eventList(Collection<Event> eventList)
A list of event data from the session.
eventList - A list of event data from the session.PutEventsRequest.Builder eventList(Event... eventList)
A list of event data from the session.
eventList - A list of event data from the session.PutEventsRequest.Builder eventList(Consumer<Event.Builder>... eventList)
A list of event data from the session.
This is a convenience method that creates an instance of theEvent.Builder avoiding the need to create one
manually via Event.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #eventList(List.
eventList - a consumer that will call methods on
Event.Builder#eventList(java.util.Collection) PutEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.