Class CfnRuleGroupPropsMixin.CustomActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnRuleGroupPropsMixin.CustomActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.CustomActionProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.CustomActionProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.CustomActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.CustomActionProperty>
A builder for
CfnRuleGroupPropsMixin.CustomActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionDefinition(CfnRuleGroupPropsMixin.ActionDefinitionProperty actionDefinition) Sets the value ofCfnRuleGroupPropsMixin.CustomActionProperty.getActionDefinition()actionDefinition(IResolvable actionDefinition) Sets the value ofCfnRuleGroupPropsMixin.CustomActionProperty.getActionDefinition()actionName(String actionName) Sets the value ofCfnRuleGroupPropsMixin.CustomActionProperty.getActionName()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionDefinition
@Stability(Stable) public CfnRuleGroupPropsMixin.CustomActionProperty.Builder actionDefinition(IResolvable actionDefinition) Sets the value ofCfnRuleGroupPropsMixin.CustomActionProperty.getActionDefinition()- Parameters:
actionDefinition- The custom action associated with the action name.- Returns:
this
-
actionDefinition
@Stability(Stable) public CfnRuleGroupPropsMixin.CustomActionProperty.Builder actionDefinition(CfnRuleGroupPropsMixin.ActionDefinitionProperty actionDefinition) Sets the value ofCfnRuleGroupPropsMixin.CustomActionProperty.getActionDefinition()- Parameters:
actionDefinition- The custom action associated with the action name.- Returns:
this
-
actionName
@Stability(Stable) public CfnRuleGroupPropsMixin.CustomActionProperty.Builder actionName(String actionName) Sets the value ofCfnRuleGroupPropsMixin.CustomActionProperty.getActionName()- Parameters:
actionName- The descriptive name of the custom action. You can't change the name of a custom action after you create it.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.CustomActionProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.CustomActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-