Interface GetEventPredictionRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<GetEventPredictionRequest.Builder,,- GetEventPredictionRequest> - FraudDetectorRequest.Builder,- SdkBuilder<GetEventPredictionRequest.Builder,,- GetEventPredictionRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- GetEventPredictionRequest
- 
Method SummaryModifier and TypeMethodDescriptiondetectorId(String detectorId) The detector ID.detectorVersionId(String detectorVersionId) The detector version ID.entities(Collection<Entity> entities) The entity type (associated with the detector's event type) and specific entity ID representing who performed the event.entities(Consumer<Entity.Builder>... entities) The entity type (associated with the detector's event type) and specific entity ID representing who performed the event.The entity type (associated with the detector's event type) and specific entity ID representing who performed the event.The unique ID used to identify the event.eventTimestamp(String eventTimestamp) Timestamp that defines when the event under evaluation occurred.eventTypeName(String eventTypeName) The event type associated with the detector specified for the prediction.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.externalModelEndpointDataBlobs(Map<String, ModelEndpointDataBlob> externalModelEndpointDataBlobs) The Amazon SageMaker model endpoint input data blobs.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
detectorIdThe detector ID. - Parameters:
- detectorId- The detector ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
detectorVersionIdThe detector version ID. - Parameters:
- detectorVersionId- The detector version ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventIdThe unique ID used to identify the event. - Parameters:
- eventId- The unique ID used to identify the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventTypeNameThe event type associated with the detector specified for the prediction. - Parameters:
- eventTypeName- The event type associated with the detector specified for the prediction.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entitiesThe 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." - Parameters:
- 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."
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entitiesThe 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." - Parameters:
- 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."
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entitiesThe 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.Builderavoiding the need to create one manually viaEntity.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentities(List<Entity>).- Parameters:
- entities- a consumer that will call methods on- Entity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventTimestampTimestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC. - Parameters:
- eventTimestamp- Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventVariablesNames 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. - Parameters:
- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
externalModelEndpointDataBlobsGetEventPredictionRequest.Builder externalModelEndpointDataBlobs(Map<String, ModelEndpointDataBlob> externalModelEndpointDataBlobs) The Amazon SageMaker model endpoint input data blobs. - Parameters:
- externalModelEndpointDataBlobs- The Amazon SageMaker model endpoint input data blobs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationGetEventPredictionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationGetEventPredictionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-