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 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

      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

      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 the ModelScores.Builder avoiding the need to create one manually via ModelScores.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to modelScores(List<ModelScores>).

      Parameters:
      modelScores - a consumer that will call methods on ModelScores.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

      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

      The results from the rules.

      This is a convenience method that creates an instance of the RuleResult.Builder avoiding the need to create one manually via RuleResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ruleResults(List<RuleResult>).

      Parameters:
      ruleResults - a consumer that will call methods on RuleResult.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 the ExternalModelOutputs.Builder avoiding the need to create one manually via ExternalModelOutputs.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to externalModelOutputs(List<ExternalModelOutputs>).

      Parameters:
      externalModelOutputs - a consumer that will call methods on ExternalModelOutputs.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: