Interface CreateDetectorVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDetectorVersionRequest.Builder,
,CreateDetectorVersionRequest> FraudDetectorRequest.Builder
,SdkBuilder<CreateDetectorVersionRequest.Builder,
,CreateDetectorVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDetectorVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the detector version.detectorId
(String detectorId) The ID of the detector under which you want to create a new version.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 for the rules included in the detector version.ruleExecutionMode
(RuleExecutionMode ruleExecutionMode) The rule execution mode for the rules included in the detector version.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.tags
(Collection<Tag> tags) A collection of key and value pairs.tags
(Consumer<Tag.Builder>... tags) A collection of key and value pairs.A collection of key and value pairs.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 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
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
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:
-
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 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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDetectorVersionRequest.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.
-