public static interface GetEventPredictionRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<GetEventPredictionRequest.Builder,GetEventPredictionRequest>
| Modifier and Type | Method and Description |
|---|---|
GetEventPredictionRequest.Builder |
detectorId(String detectorId)
The detector ID.
|
GetEventPredictionRequest.Builder |
detectorVersionId(String detectorVersionId)
The detector version ID.
|
GetEventPredictionRequest.Builder |
entities(Collection<Entity> entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed
the event.
|
GetEventPredictionRequest.Builder |
entities(Consumer<Entity.Builder>... entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed
the event.
|
GetEventPredictionRequest.Builder |
entities(Entity... entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed
the event.
|
GetEventPredictionRequest.Builder |
eventId(String eventId)
The unique ID used to identify the event.
|
GetEventPredictionRequest.Builder |
eventTimestamp(String eventTimestamp)
Timestamp that defines when the event under evaluation occurred.
|
GetEventPredictionRequest.Builder |
eventTypeName(String eventTypeName)
The event type associated with the detector specified for the prediction.
|
GetEventPredictionRequest.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.
|
GetEventPredictionRequest.Builder |
externalModelEndpointDataBlobs(Map<String,ModelEndpointDataBlob> externalModelEndpointDataBlobs)
The Amazon SageMaker model endpoint input data blobs.
|
GetEventPredictionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetEventPredictionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEventPredictionRequest.Builder detectorId(String detectorId)
The detector ID.
detectorId - The detector ID.GetEventPredictionRequest.Builder detectorVersionId(String detectorVersionId)
The detector version ID.
detectorVersionId - The detector version ID.GetEventPredictionRequest.Builder eventId(String eventId)
The unique ID used to identify the event.
eventId - The unique ID used to identify the event.GetEventPredictionRequest.Builder eventTypeName(String eventTypeName)
The event type associated with the detector specified for the prediction.
eventTypeName - The event type associated with the detector specified for the prediction.GetEventPredictionRequest.Builder entities(Collection<Entity> entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
entities - The entity type (associated with the detector's event type) and specific entity ID representing who
performed the event. If an entity id is not available, use "UNKNOWN."GetEventPredictionRequest.Builder entities(Entity... entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
entities - The entity type (associated with the detector's event type) and specific entity ID representing who
performed the event. If an entity id is not available, use "UNKNOWN."GetEventPredictionRequest.Builder entities(Consumer<Entity.Builder>... entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
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) GetEventPredictionRequest.Builder eventTimestamp(String eventTimestamp)
Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
eventTimestamp - Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using
ISO 8601 standard in UTC.GetEventPredictionRequest.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.
You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
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. You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
GetEventPredictionRequest.Builder externalModelEndpointDataBlobs(Map<String,ModelEndpointDataBlob> externalModelEndpointDataBlobs)
The Amazon SageMaker model endpoint input data blobs.
externalModelEndpointDataBlobs - The Amazon SageMaker model endpoint input data blobs.GetEventPredictionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetEventPredictionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.