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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDetectorVersionRequest.Builderdescription(String description)The description of the detector version.CreateDetectorVersionRequest.BuilderdetectorId(String detectorId)The ID of the detector under which you want to create a new version.CreateDetectorVersionRequest.BuilderexternalModelEndpoints(String... externalModelEndpoints)The Amazon Sagemaker model endpoints to include in the detector version.CreateDetectorVersionRequest.BuilderexternalModelEndpoints(Collection<String> externalModelEndpoints)The Amazon Sagemaker model endpoints to include in the detector version.CreateDetectorVersionRequest.BuildermodelVersions(Collection<ModelVersion> modelVersions)The model versions to include in the detector version.CreateDetectorVersionRequest.BuildermodelVersions(Consumer<ModelVersion.Builder>... modelVersions)The model versions to include in the detector version.CreateDetectorVersionRequest.BuildermodelVersions(ModelVersion... modelVersions)The model versions to include in the detector version.CreateDetectorVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDetectorVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDetectorVersionRequest.BuilderruleExecutionMode(String ruleExecutionMode)The rule execution mode for the rules included in the detector version.CreateDetectorVersionRequest.BuilderruleExecutionMode(RuleExecutionMode ruleExecutionMode)The rule execution mode for the rules included in the detector version.CreateDetectorVersionRequest.Builderrules(Collection<Rule> rules)The rules to include in the detector version.CreateDetectorVersionRequest.Builderrules(Consumer<Rule.Builder>... rules)The rules to include in the detector version.CreateDetectorVersionRequest.Builderrules(Rule... rules)The rules to include in the detector version.CreateDetectorVersionRequest.Buildertags(Collection<Tag> tags)A collection of key and value pairs.CreateDetectorVersionRequest.Buildertags(Consumer<Tag.Builder>... tags)A collection of key and value pairs.CreateDetectorVersionRequest.Buildertags(Tag... tags)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 Detail
-
detectorId
CreateDetectorVersionRequest.Builder detectorId(String 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
CreateDetectorVersionRequest.Builder rules(Collection<Rule> 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
CreateDetectorVersionRequest.Builder rules(Rule... 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
CreateDetectorVersionRequest.Builder rules(Consumer<Rule.Builder>... rules)
The rules to include in the detector version.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - 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:
#rules(java.util.Collection)
-
modelVersions
CreateDetectorVersionRequest.Builder modelVersions(Collection<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
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
CreateDetectorVersionRequest.Builder modelVersions(Consumer<ModelVersion.Builder>... modelVersions)
The model versions to include in the detector version.
This is a convenience method that creates an instance of theModelVersion.Builderavoiding the need to create one manually viaModelVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#modelVersions(List.) - 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:
#modelVersions(java.util.Collection)
-
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,RuleExecutionMode
-
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:
RuleExecutionMode,RuleExecutionMode
-
tags
CreateDetectorVersionRequest.Builder tags(Collection<Tag> 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
CreateDetectorVersionRequest.Builder tags(Tag... 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
CreateDetectorVersionRequest.Builder tags(Consumer<Tag.Builder>... tags)
A collection of key and value pairs.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateDetectorVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDetectorVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-