Class CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.networkfirewall.mixins.CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customActions(List<? extends Object> customActions) customActions(IResolvable customActions) statelessRules(List<? extends Object> statelessRules) statelessRules(IResolvable statelessRules)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customActions
@Stability(Stable) public CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty.Builder customActions(IResolvable customActions) - Parameters:
customActions- Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification. You name each custom action that you define, and then you can use it by name in your stateless rule definitionActionsspecification.- Returns:
this
-
customActions
@Stability(Stable) public CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty.Builder customActions(List<? extends Object> customActions) - Parameters:
customActions- Defines an array of individual custom action definitions that are available for use by the stateless rules in thisStatelessRulesAndCustomActionsspecification. You name each custom action that you define, and then you can use it by name in your stateless rule definitionActionsspecification.- Returns:
this
-
statelessRules
@Stability(Stable) public CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty.Builder statelessRules(IResolvable statelessRules) - Parameters:
statelessRules- Defines the set of stateless rules for use in a stateless rule group.- Returns:
this
-
statelessRules
@Stability(Stable) public CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty.Builder statelessRules(List<? extends Object> statelessRules) - Parameters:
statelessRules- Defines the set of stateless rules for use in a stateless rule group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-