Class CfnCustomDetectionRuleAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnCustomDetectionRuleAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomDetectionRuleAssociationPropsMixin>
- Enclosing class:
CfnCustomDetectionRuleAssociationPropsMixin
@Stability(Stable)
public static final class CfnCustomDetectionRuleAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomDetectionRuleAssociationPropsMixin>
A fluent builder for
CfnCustomDetectionRuleAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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 CfnCustomDetectionRuleAssociationPropsMixin.TagItemProperty> tags) The tags applied to the association.
-
Method Details
-
create
@Stability(Stable) public static CfnCustomDetectionRuleAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCustomDetectionRuleAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCustomDetectionRuleAssociationPropsMixin.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 CfnCustomDetectionRuleAssociationPropsMixin.Builder tags(List<? extends CfnCustomDetectionRuleAssociationPropsMixin.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<CfnCustomDetectionRuleAssociationPropsMixin>- Returns:
- a newly built instance of
CfnCustomDetectionRuleAssociationPropsMixin.
-