Interface GetEventPredictionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEventPredictionResponse.Builder,,GetEventPredictionResponse> FraudDetectorResponse.Builder,SdkBuilder<GetEventPredictionResponse.Builder,,GetEventPredictionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEventPredictionResponse
-
Method Summary
Modifier and TypeMethodDescriptionexternalModelOutputs(Collection<ExternalModelOutputs> externalModelOutputs) The model scores for Amazon SageMaker models.externalModelOutputs(Consumer<ExternalModelOutputs.Builder>... externalModelOutputs) The model scores for Amazon SageMaker models.externalModelOutputs(ExternalModelOutputs... externalModelOutputs) The model scores for Amazon SageMaker models.modelScores(Collection<ModelScores> modelScores) The model scores.modelScores(Consumer<ModelScores.Builder>... modelScores) The model scores.modelScores(ModelScores... modelScores) The model scores.ruleResults(Collection<RuleResult> ruleResults) The results from the rules.ruleResults(Consumer<RuleResult.Builder>... ruleResults) The results from the rules.ruleResults(RuleResult... ruleResults) The results from the rules.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelScores
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
- Parameters:
modelScores- The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelScores
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
- Parameters:
modelScores- The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelScores
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
This is a convenience method that creates an instance of theModelScores.Builderavoiding the need to create one manually viaModelScores.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelScores(List<ModelScores>).- Parameters:
modelScores- a consumer that will call methods onModelScores.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleResults
The results from the rules.
- Parameters:
ruleResults- The results from the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleResults
The results from the rules.
- Parameters:
ruleResults- The results from the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleResults
The results from the rules.
This is a convenience method that creates an instance of theRuleResult.Builderavoiding the need to create one manually viaRuleResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleResults(List<RuleResult>).- Parameters:
ruleResults- a consumer that will call methods onRuleResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
externalModelOutputs
GetEventPredictionResponse.Builder externalModelOutputs(Collection<ExternalModelOutputs> externalModelOutputs) The model scores for Amazon SageMaker models.
- Parameters:
externalModelOutputs- The model scores for Amazon SageMaker models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalModelOutputs
GetEventPredictionResponse.Builder externalModelOutputs(ExternalModelOutputs... externalModelOutputs) The model scores for Amazon SageMaker models.
- Parameters:
externalModelOutputs- The model scores for Amazon SageMaker models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalModelOutputs
GetEventPredictionResponse.Builder externalModelOutputs(Consumer<ExternalModelOutputs.Builder>... externalModelOutputs) The model scores for Amazon SageMaker models.
This is a convenience method that creates an instance of theExternalModelOutputs.Builderavoiding the need to create one manually viaExternalModelOutputs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalModelOutputs(List<ExternalModelOutputs>).- Parameters:
externalModelOutputs- a consumer that will call methods onExternalModelOutputs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-