public static interface SendEventRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<SendEventRequest.Builder,SendEventRequest>
| Modifier and Type | Method and Description |
|---|---|
SendEventRequest.Builder |
assignedLabel(String assignedLabel)
The label to associate with the event.
|
SendEventRequest.Builder |
entities(Collection<Entity> entities)
An array of entities.
|
SendEventRequest.Builder |
entities(Consumer<Entity.Builder>... entities)
An array of entities.
|
SendEventRequest.Builder |
entities(Entity... entities)
An array of entities.
|
SendEventRequest.Builder |
eventId(String eventId)
The event ID to upload.
|
SendEventRequest.Builder |
eventTimestamp(String eventTimestamp)
The timestamp that defines when the event under evaluation occurred.
|
SendEventRequest.Builder |
eventTypeName(String eventTypeName)
The event type name of the event.
|
SendEventRequest.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.
|
SendEventRequest.Builder |
labelTimestamp(String labelTimestamp)
The timestamp associated with the label.
|
SendEventRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SendEventRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSendEventRequest.Builder eventId(String eventId)
The event ID to upload.
eventId - The event ID to upload.SendEventRequest.Builder eventTypeName(String eventTypeName)
The event type name of the event.
eventTypeName - The event type name of the event.SendEventRequest.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.SendEventRequest.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.SendEventRequest.Builder assignedLabel(String assignedLabel)
The label to associate with the event. Required if specifying labelTimestamp.
assignedLabel - The label to associate with the event. Required if specifying labelTimestamp.SendEventRequest.Builder labelTimestamp(String labelTimestamp)
The timestamp associated with the label. Required if specifying assignedLabel.
labelTimestamp - The timestamp associated with the label. Required if specifying assignedLabel.SendEventRequest.Builder entities(Collection<Entity> entities)
An array of entities.
entities - An array of entities.SendEventRequest.Builder entities(Entity... entities)
An array of entities.
entities - An array of entities.SendEventRequest.Builder entities(Consumer<Entity.Builder>... entities)
An array of 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) SendEventRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSendEventRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.