Class CfnDetectorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorPropsMixin>
- Enclosing class:
CfnDetectorPropsMixin
CfnDetectorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionassociatedModels(List<? extends Object> associatedModels) The models to associate with this detector.associatedModels(IResolvable associatedModels) The models to associate with this detector.build()create()create(CfnPropertyMixinOptions options) description(String description) The detector description.detectorId(String detectorId) The name of the detector.detectorVersionStatus(String detectorVersionStatus) The status of the detector version.eventType(CfnDetectorPropsMixin.EventTypeProperty eventType) The event type associated with this detector.eventType(IResolvable eventType) The event type associated with this detector.ruleExecutionMode(String ruleExecutionMode) The rule execution mode for the rules included in the detector version.The rules to include in the detector version.rules(IResolvable rules) The rules to include in the detector version.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnDetectorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDetectorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDetectorPropsMixin.Builder.
-
associatedModels
@Stability(Stable) public CfnDetectorPropsMixin.Builder associatedModels(IResolvable associatedModels) The models to associate with this detector.You must provide the ARNs of all the models you want to associate.
- Parameters:
associatedModels- The models to associate with this detector. This parameter is required.- Returns:
this- See Also:
-
associatedModels
@Stability(Stable) public CfnDetectorPropsMixin.Builder associatedModels(List<? extends Object> associatedModels) The models to associate with this detector.You must provide the ARNs of all the models you want to associate.
- Parameters:
associatedModels- The models to associate with this detector. This parameter is required.- Returns:
this- See Also:
-
description
The detector description.- Parameters:
description- The detector description. This parameter is required.- Returns:
this- See Also:
-
detectorId
The name of the detector.- Parameters:
detectorId- The name of the detector. This parameter is required.- Returns:
this- See Also:
-
detectorVersionStatus
@Stability(Stable) public CfnDetectorPropsMixin.Builder detectorVersionStatus(String detectorVersionStatus) The status of the detector version.If a value is not provided for this property, AWS CloudFormation assumes
DRAFTstatus.Valid values:
ACTIVE | DRAFT- Parameters:
detectorVersionStatus- The status of the detector version. This parameter is required.- Returns:
this- See Also:
-
eventType
The event type associated with this detector.- Parameters:
eventType- The event type associated with this detector. This parameter is required.- Returns:
this- See Also:
-
eventType
@Stability(Stable) public CfnDetectorPropsMixin.Builder eventType(CfnDetectorPropsMixin.EventTypeProperty eventType) The event type associated with this detector.- Parameters:
eventType- The event type associated with this detector. This parameter is required.- Returns:
this- See Also:
-
ruleExecutionMode
The rule execution mode for the rules included in the detector version.Valid values:
FIRST_MATCHED | ALL_MATCHEDDefault value:FIRST_MATCHEDYou 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.- Parameters:
ruleExecutionMode- The rule execution mode for the rules included in the detector version. This parameter is required.- Returns:
this- See Also:
-
rules
The rules to include in the detector version.- Parameters:
rules- The rules to include in the detector version. This parameter is required.- Returns:
this- See Also:
-
rules
The rules to include in the detector version.- Parameters:
rules- The rules to include in the detector version. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorPropsMixin>- Returns:
- a newly built instance of
CfnDetectorPropsMixin.
-