Interface GetDetectorVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDetectorVersionResponse.Builder,
,GetDetectorVersionResponse> FraudDetectorResponse.Builder
,SdkBuilder<GetDetectorVersionResponse.Builder,
,GetDetectorVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDetectorVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe detector version ARN.createdTime
(String createdTime) The timestamp when the detector version was created.description
(String description) The detector version description.detectorId
(String detectorId) The detector ID.detectorVersionId
(String detectorVersionId) The detector version ID.externalModelEndpoints
(String... externalModelEndpoints) The Amazon SageMaker model endpoints included in the detector version.externalModelEndpoints
(Collection<String> externalModelEndpoints) The Amazon SageMaker model endpoints included in the detector version.lastUpdatedTime
(String lastUpdatedTime) The timestamp when the detector version was last updated.modelVersions
(Collection<ModelVersion> modelVersions) The model versions included in the detector version.modelVersions
(Consumer<ModelVersion.Builder>... modelVersions) The model versions included in the detector version.modelVersions
(ModelVersion... modelVersions) The model versions included in the detector version.ruleExecutionMode
(String ruleExecutionMode) The execution mode of the rule in the dectectorruleExecutionMode
(RuleExecutionMode ruleExecutionMode) The execution mode of the rule in the dectectorrules
(Collection<Rule> rules) The rules included in the detector version.rules
(Consumer<Rule.Builder>... rules) The rules included in the detector version.The rules included in the detector version.The status of the detector version.status
(DetectorVersionStatus status) The status of the detector version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
detectorId
The detector ID.
- Parameters:
detectorId
- The detector ID.- 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.
-
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.
-
externalModelEndpoints
GetDetectorVersionResponse.Builder externalModelEndpoints(Collection<String> externalModelEndpoints) The Amazon SageMaker model endpoints included in the detector version.
- Parameters:
externalModelEndpoints
- The Amazon SageMaker model endpoints included 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 included in the detector version.
- Parameters:
externalModelEndpoints
- The Amazon SageMaker model endpoints included in the detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersions
The model versions included in the detector version.
- Parameters:
modelVersions
- The model versions included in the detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersions
The model versions included in the detector version.
- Parameters:
modelVersions
- The model versions included in the detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersions
The model versions included 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:
-
rules
The rules included in the detector version.
- Parameters:
rules
- The rules included in the detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules included in the detector version.
- Parameters:
rules
- The rules included in the detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules included 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:
-
status
The status of the detector version.
- Parameters:
status
- The status of the detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the detector version.
- Parameters:
status
- The status of the detector version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedTime
The timestamp when the detector version was last updated.
- Parameters:
lastUpdatedTime
- The timestamp when the detector version was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The timestamp when the detector version was created.
- Parameters:
createdTime
- The timestamp when the detector version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleExecutionMode
The execution mode of the rule in the dectector
FIRST_MATCHED
indicates that 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.ALL_MATCHED
indicates that 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.- Parameters:
ruleExecutionMode
- The execution mode of the rule in the dectectorFIRST_MATCHED
indicates that 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.ALL_MATCHED
indicates that 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleExecutionMode
The execution mode of the rule in the dectector
FIRST_MATCHED
indicates that 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.ALL_MATCHED
indicates that 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.- Parameters:
ruleExecutionMode
- The execution mode of the rule in the dectectorFIRST_MATCHED
indicates that 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.ALL_MATCHED
indicates that 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
The detector version ARN.
- Parameters:
arn
- The detector version ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-