@Stability(value=Stable) public static final class CfnDetectorProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDetectorProps>
CfnDetectorProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDetectorProps.Builder detectorId(String detectorId)
CfnDetectorProps.getDetectorId()detectorId - The name of the detector. This parameter is required.this@Stability(value=Stable) public CfnDetectorProps.Builder eventType(CfnDetector.EventTypeProperty eventType)
CfnDetectorProps.getEventType()eventType - The event type associated with this detector. This parameter is required.this@Stability(value=Stable) public CfnDetectorProps.Builder eventType(IResolvable eventType)
CfnDetectorProps.getEventType()eventType - The event type associated with this detector. This parameter is required.this@Stability(value=Stable) public CfnDetectorProps.Builder rules(IResolvable rules)
CfnDetectorProps.getRules()rules - The rules to include in the detector version. This parameter is required.this@Stability(value=Stable) public CfnDetectorProps.Builder rules(List<? extends Object> rules)
CfnDetectorProps.getRules()rules - The rules to include in the detector version. This parameter is required.this@Stability(value=Stable) public CfnDetectorProps.Builder associatedModels(IResolvable associatedModels)
CfnDetectorProps.getAssociatedModels()associatedModels - The models to associate with this detector.
You must provide the ARNs of all the models you want to associate.this@Stability(value=Stable) public CfnDetectorProps.Builder associatedModels(List<? extends Object> associatedModels)
CfnDetectorProps.getAssociatedModels()associatedModels - The models to associate with this detector.
You must provide the ARNs of all the models you want to associate.this@Stability(value=Stable) public CfnDetectorProps.Builder description(String description)
CfnDetectorProps.getDescription()description - The detector description.this@Stability(value=Stable) public CfnDetectorProps.Builder detectorVersionStatus(String detectorVersionStatus)
CfnDetectorProps.getDetectorVersionStatus()detectorVersionStatus - The status of the detector version.
If a value is not provided for this property, AWS CloudFormation assumes DRAFT status.
Valid values: ACTIVE | DRAFT
this@Stability(value=Stable) public CfnDetectorProps.Builder ruleExecutionMode(String ruleExecutionMode)
CfnDetectorProps.getRuleExecutionMode()ruleExecutionMode - The rule execution mode for the rules included in the detector version.
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.
this@Stability(value=Stable) public CfnDetectorProps.Builder tags(List<? extends CfnTag> tags)
CfnDetectorProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnDetectorProps build()
build in interface software.amazon.jsii.Builder<CfnDetectorProps>CfnDetectorPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.