@Stability(value=Stable) public static final class CfnDetector.Builder extends Object implements software.amazon.jsii.Builder<CfnDetector>
CfnDetector.| Modifier and Type | Method and Description |
|---|---|
CfnDetector.Builder |
associatedModels(IResolvable associatedModels)
The models to associate with this detector.
|
CfnDetector.Builder |
associatedModels(List<? extends Object> associatedModels)
The models to associate with this detector.
|
CfnDetector |
build() |
static CfnDetector.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDetector.Builder |
description(String description)
The detector description.
|
CfnDetector.Builder |
detectorId(String detectorId)
The name of the detector.
|
CfnDetector.Builder |
detectorVersionStatus(String detectorVersionStatus)
The status of the detector version.
|
CfnDetector.Builder |
eventType(CfnDetector.EventTypeProperty eventType)
The event type associated with this detector.
|
CfnDetector.Builder |
eventType(IResolvable eventType)
The event type associated with this detector.
|
CfnDetector.Builder |
ruleExecutionMode(String ruleExecutionMode)
The rule execution mode for the rules included in the detector version.
|
CfnDetector.Builder |
rules(IResolvable rules)
The rules to include in the detector version.
|
CfnDetector.Builder |
rules(List<? extends Object> rules)
The rules to include in the detector version.
|
CfnDetector.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnDetector.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDetector.EntityTypeProperty.Builder.@Stability(value=Stable) public CfnDetector.Builder detectorId(String detectorId)
detectorId - The name of the detector. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder eventType(CfnDetector.EventTypeProperty eventType)
eventType - The event type associated with this detector. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder eventType(IResolvable eventType)
eventType - The event type associated with this detector. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder rules(IResolvable rules)
rules - The rules to include in the detector version. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder rules(List<? extends Object> rules)
rules - The rules to include in the detector version. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder associatedModels(IResolvable associatedModels)
You must provide the ARNs of all the models you want to associate.
associatedModels - The models to associate with this detector. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder associatedModels(List<? extends Object> associatedModels)
You must provide the ARNs of all the models you want to associate.
associatedModels - The models to associate with this detector. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder description(String description)
description - The detector description. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder detectorVersionStatus(String detectorVersionStatus)
If a value is not provided for this property, AWS CloudFormation assumes DRAFT status.
Valid values: ACTIVE | DRAFT
detectorVersionStatus - The status of the detector version. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder ruleExecutionMode(String ruleExecutionMode)
Valid values: FIRST_MATCHED | ALL_MATCHED Default value: FIRST_MATCHED
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.
ruleExecutionMode - The rule execution mode for the rules included in the detector version. This parameter is required.this@Stability(value=Stable) public CfnDetector.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnDetector build()
build in interface software.amazon.jsii.Builder<CfnDetector>Copyright © 2022. All rights reserved.