Interface UpdateDetectorVersionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateDetectorVersionRequest.Builder,UpdateDetectorVersionRequest>, FraudDetectorRequest.Builder, SdkBuilder<UpdateDetectorVersionRequest.Builder,UpdateDetectorVersionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateDetectorVersionRequest

public static interface UpdateDetectorVersionRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<UpdateDetectorVersionRequest.Builder,UpdateDetectorVersionRequest>
  • Method Details

    • detectorId

      The parent detector ID for the detector version you want to update.

      Parameters:
      detectorId - The parent detector ID for the detector version you want to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detectorVersionId

      UpdateDetectorVersionRequest.Builder detectorVersionId(String detectorVersionId)

      The detector version ID.

      Parameters:
      detectorVersionId - The detector version ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalModelEndpoints

      UpdateDetectorVersionRequest.Builder externalModelEndpoints(Collection<String> externalModelEndpoints)

      The Amazon SageMaker model endpoints to include in the detector version.

      Parameters:
      externalModelEndpoints - The Amazon SageMaker model endpoints to include in the detector version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalModelEndpoints

      UpdateDetectorVersionRequest.Builder externalModelEndpoints(String... externalModelEndpoints)

      The Amazon SageMaker model endpoints to include in the detector version.

      Parameters:
      externalModelEndpoints - The Amazon SageMaker model endpoints to include in the detector version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      The rules to include in the detector version.

      Parameters:
      rules - The rules to include in the detector version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      The rules to include in the detector version.

      Parameters:
      rules - The rules to include in the detector version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      The rules to include in the detector version.

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

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

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

      UpdateDetectorVersionRequest.Builder description(String description)

      The detector version description.

      Parameters:
      description - The detector version description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersions

      The model versions to include in the detector version.

      Parameters:
      modelVersions - The model versions to include in the detector version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersions

      UpdateDetectorVersionRequest.Builder modelVersions(ModelVersion... modelVersions)

      The model versions to include in the detector version.

      Parameters:
      modelVersions - The model versions to include in the detector version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersions

      The model versions to include in the detector version.

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

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

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

      UpdateDetectorVersionRequest.Builder ruleExecutionMode(String ruleExecutionMode)

      The rule execution mode to add to the detector.

      If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.

      If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.

      The default behavior is FIRST_MATCHED.

      Parameters:
      ruleExecutionMode - The rule execution mode to add to the detector.

      If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.

      If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.

      The default behavior is FIRST_MATCHED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ruleExecutionMode

      UpdateDetectorVersionRequest.Builder ruleExecutionMode(RuleExecutionMode ruleExecutionMode)

      The rule execution mode to add to the detector.

      If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.

      If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.

      The default behavior is FIRST_MATCHED.

      Parameters:
      ruleExecutionMode - The rule execution mode to add to the detector.

      If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.

      If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.

      The default behavior is FIRST_MATCHED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateDetectorVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.