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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateDetectorVersionRequest.Builderdescription(String description)The detector version description.UpdateDetectorVersionRequest.BuilderdetectorId(String detectorId)The parent detector ID for the detector version you want to update.UpdateDetectorVersionRequest.BuilderdetectorVersionId(String detectorVersionId)The detector version ID.UpdateDetectorVersionRequest.BuilderexternalModelEndpoints(String... externalModelEndpoints)The Amazon SageMaker model endpoints to include in the detector version.UpdateDetectorVersionRequest.BuilderexternalModelEndpoints(Collection<String> externalModelEndpoints)The Amazon SageMaker model endpoints to include in the detector version.UpdateDetectorVersionRequest.BuildermodelVersions(Collection<ModelVersion> modelVersions)The model versions to include in the detector version.UpdateDetectorVersionRequest.BuildermodelVersions(Consumer<ModelVersion.Builder>... modelVersions)The model versions to include in the detector version.UpdateDetectorVersionRequest.BuildermodelVersions(ModelVersion... modelVersions)The model versions to include in the detector version.UpdateDetectorVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDetectorVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDetectorVersionRequest.BuilderruleExecutionMode(String ruleExecutionMode)The rule execution mode to add to the detector.UpdateDetectorVersionRequest.BuilderruleExecutionMode(RuleExecutionMode ruleExecutionMode)The rule execution mode to add to the detector.UpdateDetectorVersionRequest.Builderrules(Collection<Rule> rules)The rules to include in the detector version.UpdateDetectorVersionRequest.Builderrules(Consumer<Rule.Builder>... rules)The rules to include in the detector version.UpdateDetectorVersionRequest.Builderrules(Rule... rules)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 Detail
-
detectorId
UpdateDetectorVersionRequest.Builder detectorId(String 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
UpdateDetectorVersionRequest.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
UpdateDetectorVersionRequest.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
UpdateDetectorVersionRequest.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)
-
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
UpdateDetectorVersionRequest.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
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
UpdateDetectorVersionRequest.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
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,RuleExecutionMode
-
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:
RuleExecutionMode,RuleExecutionMode
-
overrideConfiguration
UpdateDetectorVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDetectorVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-