Interface UpdateDetectorVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDetectorVersionRequest.Builder,
,UpdateDetectorVersionRequest> FraudDetectorRequest.Builder
,SdkBuilder<UpdateDetectorVersionRequest.Builder,
,UpdateDetectorVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDetectorVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The detector version description.detectorId
(String detectorId) The parent detector ID for the detector version you want to update.detectorVersionId
(String detectorVersionId) The detector version ID.externalModelEndpoints
(String... externalModelEndpoints) The Amazon SageMaker model endpoints to include in the detector version.externalModelEndpoints
(Collection<String> externalModelEndpoints) The Amazon SageMaker model endpoints to include in the detector version.modelVersions
(Collection<ModelVersion> modelVersions) The model versions to include in the detector version.modelVersions
(Consumer<ModelVersion.Builder>... modelVersions) The model versions to include in the detector version.modelVersions
(ModelVersion... modelVersions) The model versions to include in the detector version.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ruleExecutionMode
(String ruleExecutionMode) The rule execution mode to add to the detector.ruleExecutionMode
(RuleExecutionMode ruleExecutionMode) The rule execution mode to add to the detector.rules
(Collection<Rule> rules) The rules to include in the detector version.rules
(Consumer<Rule.Builder>... rules) The rules to include in the detector version.The rules to include in the detector version.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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 theRule.Builder
avoiding the need to create one manually viaRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<Rule>)
.- Parameters:
rules
- a consumer that will call methods onRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theModelVersion.Builder
avoiding the need to create one manually viaModelVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelVersions(List<ModelVersion>)
.- Parameters:
modelVersions
- a consumer that will call methods onModelVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDetectorVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-