Class CfnRuleGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnRuleGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupMixinProps>
- Enclosing interface:
CfnRuleGroupMixinProps
@Stability(Stable)
public static final class CfnRuleGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupMixinProps>
A builder for
CfnRuleGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuleGroupMixinProps.getCapacity()description(String description) Sets the value ofCfnRuleGroupMixinProps.getDescription()Sets the value ofCfnRuleGroupMixinProps.getRuleGroup()ruleGroup(IResolvable ruleGroup) Sets the value ofCfnRuleGroupMixinProps.getRuleGroup()ruleGroupName(String ruleGroupName) Sets the value ofCfnRuleGroupMixinProps.getRuleGroupName()summaryConfiguration(CfnRuleGroupPropsMixin.SummaryConfigurationProperty summaryConfiguration) Sets the value ofCfnRuleGroupMixinProps.getSummaryConfiguration()summaryConfiguration(IResolvable summaryConfiguration) Sets the value ofCfnRuleGroupMixinProps.getSummaryConfiguration()Sets the value ofCfnRuleGroupMixinProps.getTags()Sets the value ofCfnRuleGroupMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacity
Sets the value ofCfnRuleGroupMixinProps.getCapacity()- Parameters:
capacity- The maximum operating resources that this rule group can use. You can't change a rule group's capacity setting after you create the rule group. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.- Returns:
this
-
description
Sets the value ofCfnRuleGroupMixinProps.getDescription()- Parameters:
description- A description of the rule group.- Returns:
this
-
ruleGroup
Sets the value ofCfnRuleGroupMixinProps.getRuleGroup()- Parameters:
ruleGroup- An object that defines the rule group rules.- Returns:
this
-
ruleGroup
@Stability(Stable) public CfnRuleGroupMixinProps.Builder ruleGroup(CfnRuleGroupPropsMixin.RuleGroupProperty ruleGroup) Sets the value ofCfnRuleGroupMixinProps.getRuleGroup()- Parameters:
ruleGroup- An object that defines the rule group rules.- Returns:
this
-
ruleGroupName
Sets the value ofCfnRuleGroupMixinProps.getRuleGroupName()- Parameters:
ruleGroupName- The descriptive name of the rule group. You can't change the name of a rule group after you create it.- Returns:
this
-
summaryConfiguration
@Stability(Stable) public CfnRuleGroupMixinProps.Builder summaryConfiguration(IResolvable summaryConfiguration) Sets the value ofCfnRuleGroupMixinProps.getSummaryConfiguration()- Parameters:
summaryConfiguration- A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned byDescribeRuleGroupSummary.- The
RuleOptionsspecified inSummaryConfiguration - Rule metadata organization preferences
- The
- Returns:
this
-
summaryConfiguration
@Stability(Stable) public CfnRuleGroupMixinProps.Builder summaryConfiguration(CfnRuleGroupPropsMixin.SummaryConfigurationProperty summaryConfiguration) Sets the value ofCfnRuleGroupMixinProps.getSummaryConfiguration()- Parameters:
summaryConfiguration- A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned byDescribeRuleGroupSummary.- The
RuleOptionsspecified inSummaryConfiguration - Rule metadata organization preferences
- The
- Returns:
this
-
tags
Sets the value ofCfnRuleGroupMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
type
Sets the value ofCfnRuleGroupMixinProps.getType()- Parameters:
type- Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupMixinProps>- Returns:
- a new instance of
CfnRuleGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-