Class CfnRuleGroupPropsMixin.RuleOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnRuleGroupPropsMixin.RuleOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleOptionProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.RuleOptionProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.RuleOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleOptionProperty>
A builder for
CfnRuleGroupPropsMixin.RuleOptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuleGroupPropsMixin.RuleOptionProperty.getKeyword()Sets the value ofCfnRuleGroupPropsMixin.RuleOptionProperty.getSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyword
Sets the value ofCfnRuleGroupPropsMixin.RuleOptionProperty.getKeyword()- Parameters:
keyword- The Suricata rule option keywords. For Network Firewall , the keyword signature ID (sid) is required in the formatsid:112233. The sid must be unique within the rule group. For information about Suricata rule option keywords, see Rule options .- Returns:
this
-
settings
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleOptionProperty.Builder settings(List<String> settings) Sets the value ofCfnRuleGroupPropsMixin.RuleOptionProperty.getSettings()- Parameters:
settings- The Suricata rule option settings. Settings have zero or more values, and the number of possible settings and required settings depends on the keyword. The format for Settings isnumber. For information about Suricata rule option settings, see Rule options .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleOptionProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.RuleOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-