Class CfnRuleGroup.CustomActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnRuleGroup.CustomActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.CustomActionProperty>
- Enclosing interface:
CfnRuleGroup.CustomActionProperty
@Stability(Stable)
public static final class CfnRuleGroup.CustomActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.CustomActionProperty>
A builder for
CfnRuleGroup.CustomActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionDefinition(IResolvable actionDefinition) Sets the value ofCfnRuleGroup.CustomActionProperty.getActionDefinition()actionDefinition(CfnRuleGroup.ActionDefinitionProperty actionDefinition) Sets the value ofCfnRuleGroup.CustomActionProperty.getActionDefinition()actionName(String actionName) Sets the value ofCfnRuleGroup.CustomActionProperty.getActionName()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionDefinition
@Stability(Stable) public CfnRuleGroup.CustomActionProperty.Builder actionDefinition(IResolvable actionDefinition) Sets the value ofCfnRuleGroup.CustomActionProperty.getActionDefinition()- Parameters:
actionDefinition- The custom action associated with the action name. This parameter is required.- Returns:
this
-
actionDefinition
@Stability(Stable) public CfnRuleGroup.CustomActionProperty.Builder actionDefinition(CfnRuleGroup.ActionDefinitionProperty actionDefinition) Sets the value ofCfnRuleGroup.CustomActionProperty.getActionDefinition()- Parameters:
actionDefinition- The custom action associated with the action name. This parameter is required.- Returns:
this
-
actionName
Sets the value ofCfnRuleGroup.CustomActionProperty.getActionName()- Parameters:
actionName- The descriptive name of the custom action. This parameter is required. 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<CfnRuleGroup.CustomActionProperty>- Returns:
- a new instance of
CfnRuleGroup.CustomActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-