public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
currentLabel(String currentLabel)
The label associated with the event.
|
Event.Builder |
entities(Collection<Entity> entities)
The event entities.
|
Event.Builder |
entities(Consumer<Entity.Builder>... entities)
The event entities.
|
Event.Builder |
entities(Entity... entities)
The event entities.
|
Event.Builder |
eventId(String eventId)
The event ID.
|
Event.Builder |
eventTimestamp(String eventTimestamp)
The timestamp that defines when the event under evaluation occurred.
|
Event.Builder |
eventTypeName(String eventTypeName)
The event type.
|
Event.Builder |
eventVariables(Map<String,String> eventVariables)
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their
corresponding values for the event you are sending for evaluation.
|
Event.Builder |
labelTimestamp(String labelTimestamp)
The timestamp associated with the label to update.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEvent.Builder eventId(String eventId)
The event ID.
eventId - The event ID.Event.Builder eventTypeName(String eventTypeName)
The event type.
eventTypeName - The event type.Event.Builder eventTimestamp(String eventTimestamp)
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
eventTimestamp - The timestamp that defines when the event under evaluation occurred. The timestamp must be specified
using ISO 8601 standard in UTC.Event.Builder eventVariables(Map<String,String> eventVariables)
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.
eventVariables - Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements
and their corresponding values for the event you are sending for evaluation.Event.Builder currentLabel(String currentLabel)
The label associated with the event.
currentLabel - The label associated with the event.Event.Builder labelTimestamp(String labelTimestamp)
The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.
labelTimestamp - The timestamp associated with the label to update. The timestamp must be specified using ISO 8601
standard in UTC.Event.Builder entities(Collection<Entity> entities)
The event entities.
entities - The event entities.Event.Builder entities(Entity... entities)
The event entities.
entities - The event entities.Event.Builder entities(Consumer<Entity.Builder>... entities)
The event entities.
This is a convenience method that creates an instance of theEntity.Builder avoiding the need to create one
manually via Entity.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #entities(List.
entities - a consumer that will call methods on
Entity.Builder#entities(java.util.Collection) Copyright © 2023. All rights reserved.