Interface GetDetectorVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDetectorVersionResponse.Builder,GetDetectorVersionResponse>,FraudDetectorResponse.Builder,SdkBuilder<GetDetectorVersionResponse.Builder,GetDetectorVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDetectorVersionResponse
public static interface GetDetectorVersionResponse.Builder extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<GetDetectorVersionResponse.Builder,GetDetectorVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDetectorVersionResponse.Builderarn(String arn)The detector version ARN.GetDetectorVersionResponse.BuildercreatedTime(String createdTime)The timestamp when the detector version was created.GetDetectorVersionResponse.Builderdescription(String description)The detector version description.GetDetectorVersionResponse.BuilderdetectorId(String detectorId)The detector ID.GetDetectorVersionResponse.BuilderdetectorVersionId(String detectorVersionId)The detector version ID.GetDetectorVersionResponse.BuilderexternalModelEndpoints(String... externalModelEndpoints)The Amazon SageMaker model endpoints included in the detector version.GetDetectorVersionResponse.BuilderexternalModelEndpoints(Collection<String> externalModelEndpoints)The Amazon SageMaker model endpoints included in the detector version.GetDetectorVersionResponse.BuilderlastUpdatedTime(String lastUpdatedTime)The timestamp when the detector version was last updated.GetDetectorVersionResponse.BuildermodelVersions(Collection<ModelVersion> modelVersions)The model versions included in the detector version.GetDetectorVersionResponse.BuildermodelVersions(Consumer<ModelVersion.Builder>... modelVersions)The model versions included in the detector version.GetDetectorVersionResponse.BuildermodelVersions(ModelVersion... modelVersions)The model versions included in the detector version.GetDetectorVersionResponse.BuilderruleExecutionMode(String ruleExecutionMode)The execution mode of the rule in the dectectorGetDetectorVersionResponse.BuilderruleExecutionMode(RuleExecutionMode ruleExecutionMode)The execution mode of the rule in the dectectorGetDetectorVersionResponse.Builderrules(Collection<Rule> rules)The rules included in the detector version.GetDetectorVersionResponse.Builderrules(Consumer<Rule.Builder>... rules)The rules included in the detector version.GetDetectorVersionResponse.Builderrules(Rule... rules)The rules included in the detector version.GetDetectorVersionResponse.Builderstatus(String status)The status of the detector version.GetDetectorVersionResponse.Builderstatus(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 Detail
-
detectorId
GetDetectorVersionResponse.Builder detectorId(String 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
GetDetectorVersionResponse.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.
-
description
GetDetectorVersionResponse.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.
-
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
GetDetectorVersionResponse.Builder externalModelEndpoints(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.
-
modelVersions
GetDetectorVersionResponse.Builder modelVersions(Collection<ModelVersion> 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
GetDetectorVersionResponse.Builder modelVersions(ModelVersion... 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
GetDetectorVersionResponse.Builder modelVersions(Consumer<ModelVersion.Builder>... modelVersions)
The model versions included 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)
-
rules
GetDetectorVersionResponse.Builder rules(Collection<Rule> 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
GetDetectorVersionResponse.Builder rules(Rule... 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
GetDetectorVersionResponse.Builder rules(Consumer<Rule.Builder>... rules)
The rules included 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)
-
status
GetDetectorVersionResponse.Builder status(String 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:
DetectorVersionStatus,DetectorVersionStatus
-
status
GetDetectorVersionResponse.Builder status(DetectorVersionStatus 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:
DetectorVersionStatus,DetectorVersionStatus
-
lastUpdatedTime
GetDetectorVersionResponse.Builder lastUpdatedTime(String 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
GetDetectorVersionResponse.Builder createdTime(String 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
GetDetectorVersionResponse.Builder ruleExecutionMode(String ruleExecutionMode)
The execution mode of the rule in the dectector
FIRST_MATCHEDindicates 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_MATCHEDindicates 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_MATCHEDindicates 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_MATCHEDindicates 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,RuleExecutionMode
-
ruleExecutionMode
GetDetectorVersionResponse.Builder ruleExecutionMode(RuleExecutionMode ruleExecutionMode)
The execution mode of the rule in the dectector
FIRST_MATCHEDindicates 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_MATCHEDindicates 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_MATCHEDindicates 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_MATCHEDindicates 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,RuleExecutionMode
-
arn
GetDetectorVersionResponse.Builder arn(String 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.
-
-