Class CfnCustomDetectionRuleAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnCustomDetectionRuleAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomDetectionRuleAssociation>
- Enclosing class:
CfnCustomDetectionRuleAssociation
@Stability(Stable)
public static final class CfnCustomDetectionRuleAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomDetectionRuleAssociation>
A fluent builder for
CfnCustomDetectionRuleAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).The catalog identifier of the custom detection rule to associate.tags(List<? extends CfnCustomDetectionRuleAssociation.TagItemProperty> tags) The tags applied to the association.
-
Method Details
-
create
@Stability(Stable) public static CfnCustomDetectionRuleAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCustomDetectionRuleAssociation.Builder.
-
mode
Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).- Parameters:
mode- Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings). This parameter is required.- Returns:
this- See Also:
-
ruleId
The catalog identifier of the custom detection rule to associate.- Parameters:
ruleId- The catalog identifier of the custom detection rule to associate. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnCustomDetectionRuleAssociation.Builder tags(List<? extends CfnCustomDetectionRuleAssociation.TagItemProperty> tags) The tags applied to the association.- Parameters:
tags- The tags applied to the association. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomDetectionRuleAssociation>- Returns:
- a newly built instance of
CfnCustomDetectionRuleAssociation.
-