Class CfnCustomDetectionRuleAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.guardduty.CfnCustomDetectionRuleAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomDetectionRuleAssociationMixinProps>
- Enclosing interface:
CfnCustomDetectionRuleAssociationMixinProps
@Stability(Stable)
public static final class CfnCustomDetectionRuleAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomDetectionRuleAssociationMixinProps>
A builder for
CfnCustomDetectionRuleAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCustomDetectionRuleAssociationMixinProps.getMode()Sets the value ofCfnCustomDetectionRuleAssociationMixinProps.getRuleId()tags(List<? extends CfnCustomDetectionRuleAssociationPropsMixin.TagItemProperty> tags) Sets the value ofCfnCustomDetectionRuleAssociationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCfnCustomDetectionRuleAssociationMixinProps.getMode()- Parameters:
mode- Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).- Returns:
this
-
ruleId
Sets the value ofCfnCustomDetectionRuleAssociationMixinProps.getRuleId()- Parameters:
ruleId- The catalog identifier of the custom detection rule to associate.- Returns:
this
-
tags
@Stability(Stable) public CfnCustomDetectionRuleAssociationMixinProps.Builder tags(List<? extends CfnCustomDetectionRuleAssociationPropsMixin.TagItemProperty> tags) Sets the value ofCfnCustomDetectionRuleAssociationMixinProps.getTags()- Parameters:
tags- The tags applied to the association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomDetectionRuleAssociationMixinProps>- Returns:
- a new instance of
CfnCustomDetectionRuleAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-