Interface GetEventPredictionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEventPredictionResponse.Builder,GetEventPredictionResponse>,FraudDetectorResponse.Builder,SdkBuilder<GetEventPredictionResponse.Builder,GetEventPredictionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetEventPredictionResponse
public static interface GetEventPredictionResponse.Builder extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<GetEventPredictionResponse.Builder,GetEventPredictionResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
modelScores
GetEventPredictionResponse.Builder modelScores(Collection<ModelScores> 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
GetEventPredictionResponse.Builder modelScores(ModelScores... 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
GetEventPredictionResponse.Builder modelScores(Consumer<ModelScores.Builder>... 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 to#modelScores(List.) - 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:
#modelScores(java.util.Collection)
-
ruleResults
GetEventPredictionResponse.Builder ruleResults(Collection<RuleResult> 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
GetEventPredictionResponse.Builder ruleResults(RuleResult... 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
GetEventPredictionResponse.Builder ruleResults(Consumer<RuleResult.Builder>... 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 to#ruleResults(List.) - 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:
#ruleResults(java.util.Collection)
-
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 to#externalModelOutputs(List.) - 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:
#externalModelOutputs(java.util.Collection)
-
-