Interface RuleMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleMetadata.Builder,,RuleMetadata> SdkBuilder<RuleMetadata.Builder,,RuleMetadata> SdkPojo
- Enclosing class:
RuleMetadata
@Mutable
@NotThreadSafe
public static interface RuleMetadata.Builder
extends SdkPojo, CopyableBuilder<RuleMetadata.Builder,RuleMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionruleDescription(String ruleDescription) A description of the rule, up to 512 characters.ruleEnabled(Boolean ruleEnabled) Specifies whether the rule is active.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleEnabled
Specifies whether the rule is active. The default is
TRUE. When you set this toFALSE, Network Firewall keeps the rule in the rule group but doesn't evaluate it against traffic and doesn't count it toward the rule group's consumed capacity.- Parameters:
ruleEnabled- Specifies whether the rule is active. The default isTRUE. When you set this toFALSE, Network Firewall keeps the rule in the rule group but doesn't evaluate it against traffic and doesn't count it toward the rule group's consumed capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleDescription
A description of the rule, up to 512 characters. The description can span multiple lines. A description line can't itself look like a firewall rule; to disable a rule, set
RuleEnabledtoFALSEinstead.- Parameters:
ruleDescription- A description of the rule, up to 512 characters. The description can span multiple lines. A description line can't itself look like a firewall rule; to disable a rule, setRuleEnabledtoFALSEinstead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-