Class CfnRuleGroup.RuleOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnRuleGroup.RuleOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.RuleOptionProperty>
- Enclosing interface:
- CfnRuleGroup.RuleOptionProperty
@Stability(Stable)
public static final class CfnRuleGroup.RuleOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.RuleOptionProperty>
A builder for
CfnRuleGroup.RuleOptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuleGroup.RuleOptionProperty.getKeyword()Sets the value ofCfnRuleGroup.RuleOptionProperty.getSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyword
Sets the value ofCfnRuleGroup.RuleOptionProperty.getKeyword()- Parameters:
keyword- The Suricata rule option keywords. This parameter is required. 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
Sets the value ofCfnRuleGroup.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<CfnRuleGroup.RuleOptionProperty>- Returns:
- a new instance of
CfnRuleGroup.RuleOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-