Class CfnAutomationRuleV2PropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRuleV2PropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRuleV2PropsMixin>
- Enclosing class:
CfnAutomationRuleV2PropsMixin
@Stability(Stable)
public static final class CfnAutomationRuleV2PropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRuleV2PropsMixin>
A fluent builder for
CfnAutomationRuleV2PropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionA list of actions to be performed when the rule criteria is met.actions(IResolvable actions) A list of actions to be performed when the rule criteria is met.build()create()create(CfnPropertyMixinOptions options) The filtering type and configuration of the automation rule.criteria(IResolvable criteria) The filtering type and configuration of the automation rule.description(String description) A description of the V2 automation rule.The name of the V2 automation rule.The value for the rule priority.ruleStatus(String ruleStatus) The status of the V2 automation rule.A list of key-value pairs associated with the V2 automation rule.
-
Method Details
-
create
@Stability(Stable) public static CfnAutomationRuleV2PropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAutomationRuleV2PropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAutomationRuleV2PropsMixin.Builder.
-
actions
A list of actions to be performed when the rule criteria is met.- Parameters:
actions- A list of actions to be performed when the rule criteria is met. This parameter is required.- Returns:
this- See Also:
-
actions
@Stability(Stable) public CfnAutomationRuleV2PropsMixin.Builder actions(List<? extends Object> actions) A list of actions to be performed when the rule criteria is met.- Parameters:
actions- A list of actions to be performed when the rule criteria is met. This parameter is required.- Returns:
this- See Also:
-
criteria
The filtering type and configuration of the automation rule.- Parameters:
criteria- The filtering type and configuration of the automation rule. This parameter is required.- Returns:
this- See Also:
-
criteria
@Stability(Stable) public CfnAutomationRuleV2PropsMixin.Builder criteria(CfnAutomationRuleV2PropsMixin.CriteriaProperty criteria) The filtering type and configuration of the automation rule.- Parameters:
criteria- The filtering type and configuration of the automation rule. This parameter is required.- Returns:
this- See Also:
-
description
A description of the V2 automation rule.- Parameters:
description- A description of the V2 automation rule. This parameter is required.- Returns:
this- See Also:
-
ruleName
The name of the V2 automation rule.- Parameters:
ruleName- The name of the V2 automation rule. This parameter is required.- Returns:
this- See Also:
-
ruleOrder
The value for the rule priority.- Parameters:
ruleOrder- The value for the rule priority. This parameter is required.- Returns:
this- See Also:
-
ruleStatus
The status of the V2 automation rule.- Parameters:
ruleStatus- The status of the V2 automation rule. This parameter is required.- Returns:
this- See Also:
-
tags
A list of key-value pairs associated with the V2 automation rule.- Parameters:
tags- A list of key-value pairs associated with the V2 automation rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRuleV2PropsMixin>- Returns:
- a newly built instance of
CfnAutomationRuleV2PropsMixin.
-