Interface CreateDetectorVersionRequest.Builder

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

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

    • detectorId

      The ID of the detector under which you want to create a new version.

      Parameters:
      detectorId - The ID of the detector under which you want to create a new version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateDetectorVersionRequest.Builder description(String description)

      The description of the detector version.

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

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

      CreateDetectorVersionRequest.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:
    • 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

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

      CreateDetectorVersionRequest.Builder ruleExecutionMode(String ruleExecutionMode)

      The rule execution mode for the rules included in the detector version.

      You can define and edit the rule mode at the detector version level, when it is in draft status.

      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.

      The default behavior is FIRST_MATCHED.

      Parameters:
      ruleExecutionMode - The rule execution mode for the rules included in the detector version.

      You can define and edit the rule mode at the detector version level, when it is in draft status.

      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.

      The default behavior is FIRST_MATCHED.

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

      CreateDetectorVersionRequest.Builder ruleExecutionMode(RuleExecutionMode ruleExecutionMode)

      The rule execution mode for the rules included in the detector version.

      You can define and edit the rule mode at the detector version level, when it is in draft status.

      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.

      The default behavior is FIRST_MATCHED.

      Parameters:
      ruleExecutionMode - The rule execution mode for the rules included in the detector version.

      You can define and edit the rule mode at the detector version level, when it is in draft status.

      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.

      The default behavior is FIRST_MATCHED.

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

      A collection of key and value pairs.

      Parameters:
      tags - A collection of key and value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A collection of key and value pairs.

      Parameters:
      tags - A collection of key and value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A collection of key and value pairs.

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

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

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

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