@Stability(value=Stable) public static final class CfnRuleGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroupProps>
CfnRuleGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleGroupProps |
build()
Builds the configured instance.
|
CfnRuleGroupProps.Builder |
capacity(Number capacity)
Sets the value of
CfnRuleGroupProps.getCapacity() |
CfnRuleGroupProps.Builder |
description(String description)
Sets the value of
CfnRuleGroupProps.getDescription() |
CfnRuleGroupProps.Builder |
ruleGroup(CfnRuleGroup.RuleGroupProperty ruleGroup)
Sets the value of
CfnRuleGroupProps.getRuleGroup() |
CfnRuleGroupProps.Builder |
ruleGroup(IResolvable ruleGroup)
Sets the value of
CfnRuleGroupProps.getRuleGroup() |
CfnRuleGroupProps.Builder |
ruleGroupName(String ruleGroupName)
Sets the value of
CfnRuleGroupProps.getRuleGroupName() |
CfnRuleGroupProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnRuleGroupProps.getTags() |
CfnRuleGroupProps.Builder |
type(String type)
Sets the value of
CfnRuleGroupProps.getType() |
@Stability(value=Stable) public CfnRuleGroupProps.Builder capacity(Number capacity)
CfnRuleGroupProps.getCapacity()capacity - The maximum operating resources that this rule group can use. This parameter is required.
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.this@Stability(value=Stable) public CfnRuleGroupProps.Builder ruleGroupName(String ruleGroupName)
CfnRuleGroupProps.getRuleGroupName()ruleGroupName - The descriptive name of the rule group. This parameter is required.
You can't change the name of a rule group after you create it.this@Stability(value=Stable) public CfnRuleGroupProps.Builder type(String type)
CfnRuleGroupProps.getType()type - Indicates whether the rule group is stateless or stateful. This parameter is required.
If the rule group is stateless, it contains
stateless rules. If it is stateful, it contains stateful rules.this@Stability(value=Stable) public CfnRuleGroupProps.Builder description(String description)
CfnRuleGroupProps.getDescription()description - A description of the rule group.this@Stability(value=Stable) public CfnRuleGroupProps.Builder ruleGroup(CfnRuleGroup.RuleGroupProperty ruleGroup)
CfnRuleGroupProps.getRuleGroup()ruleGroup - An object that defines the rule group rules.this@Stability(value=Stable) public CfnRuleGroupProps.Builder ruleGroup(IResolvable ruleGroup)
CfnRuleGroupProps.getRuleGroup()ruleGroup - An object that defines the rule group rules.this@Stability(value=Stable) public CfnRuleGroupProps.Builder tags(List<? extends CfnTag> tags)
CfnRuleGroupProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnRuleGroupProps build()
build in interface software.amazon.jsii.Builder<CfnRuleGroupProps>CfnRuleGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.