Class CfnAutomationRuleV2MixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRuleV2MixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRuleV2MixinProps>
- Enclosing interface:
CfnAutomationRuleV2MixinProps
@Stability(Stable)
public static final class CfnAutomationRuleV2MixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRuleV2MixinProps>
A builder for
CfnAutomationRuleV2MixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAutomationRuleV2MixinProps.getActions()actions(IResolvable actions) Sets the value ofCfnAutomationRuleV2MixinProps.getActions()build()Builds the configured instance.Sets the value ofCfnAutomationRuleV2MixinProps.getCriteria()criteria(IResolvable criteria) Sets the value ofCfnAutomationRuleV2MixinProps.getCriteria()description(String description) Sets the value ofCfnAutomationRuleV2MixinProps.getDescription()Sets the value ofCfnAutomationRuleV2MixinProps.getRuleName()Sets the value ofCfnAutomationRuleV2MixinProps.getRuleOrder()ruleStatus(String ruleStatus) Sets the value ofCfnAutomationRuleV2MixinProps.getRuleStatus()Sets the value ofCfnAutomationRuleV2MixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnAutomationRuleV2MixinProps.getActions()- Parameters:
actions- A list of actions to be performed when the rule criteria is met.- Returns:
this
-
actions
@Stability(Stable) public CfnAutomationRuleV2MixinProps.Builder actions(List<? extends Object> actions) Sets the value ofCfnAutomationRuleV2MixinProps.getActions()- Parameters:
actions- A list of actions to be performed when the rule criteria is met.- Returns:
this
-
criteria
Sets the value ofCfnAutomationRuleV2MixinProps.getCriteria()- Parameters:
criteria- The filtering type and configuration of the automation rule.- Returns:
this
-
criteria
@Stability(Stable) public CfnAutomationRuleV2MixinProps.Builder criteria(CfnAutomationRuleV2PropsMixin.CriteriaProperty criteria) Sets the value ofCfnAutomationRuleV2MixinProps.getCriteria()- Parameters:
criteria- The filtering type and configuration of the automation rule.- Returns:
this
-
description
Sets the value ofCfnAutomationRuleV2MixinProps.getDescription()- Parameters:
description- A description of the V2 automation rule.- Returns:
this
-
ruleName
Sets the value ofCfnAutomationRuleV2MixinProps.getRuleName()- Parameters:
ruleName- The name of the V2 automation rule.- Returns:
this
-
ruleOrder
Sets the value ofCfnAutomationRuleV2MixinProps.getRuleOrder()- Parameters:
ruleOrder- The value for the rule priority.- Returns:
this
-
ruleStatus
Sets the value ofCfnAutomationRuleV2MixinProps.getRuleStatus()- Parameters:
ruleStatus- The status of the V2 automation rule.- Returns:
this
-
tags
Sets the value ofCfnAutomationRuleV2MixinProps.getTags()- Parameters:
tags- A list of key-value pairs associated with the V2 automation rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRuleV2MixinProps>- Returns:
- a new instance of
CfnAutomationRuleV2MixinProps - Throws:
NullPointerException- if any required attribute was not provided
-