public static interface FirewallManagerRuleGroup.Builder extends SdkPojo, CopyableBuilder<FirewallManagerRuleGroup.Builder,FirewallManagerRuleGroup>
| Modifier and Type | Method and Description |
|---|---|
default FirewallManagerRuleGroup.Builder |
firewallManagerStatement(Consumer<FirewallManagerStatement.Builder> firewallManagerStatement)
The processing guidance for an Firewall Manager rule.
|
FirewallManagerRuleGroup.Builder |
firewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an Firewall Manager rule.
|
FirewallManagerRuleGroup.Builder |
name(String name)
The name of the rule group.
|
default FirewallManagerRuleGroup.Builder |
overrideAction(Consumer<OverrideAction.Builder> overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
|
FirewallManagerRuleGroup.Builder |
overrideAction(OverrideAction overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
|
FirewallManagerRuleGroup.Builder |
priority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each
request against the rule groups in order, starting from the lowest priority setting.
|
default FirewallManagerRuleGroup.Builder |
visibilityConfig(Consumer<VisibilityConfig.Builder> visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
FirewallManagerRuleGroup.Builder |
visibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFirewallManagerRuleGroup.Builder name(String name)
The name of the rule group. You cannot change the name of a rule group after you create it.
name - The name of the rule group. You cannot change the name of a rule group after you create it.FirewallManagerRuleGroup.Builder priority(Integer priority)
If you define more than one rule group in the first or last Firewall Manager rule groups, WAF evaluates each request against the rule groups in order, starting from the lowest priority setting. The priorities don't need to be consecutive, but they must all be different.
priority - If you define more than one rule group in the first or last Firewall Manager rule groups, WAF
evaluates each request against the rule groups in order, starting from the lowest priority setting.
The priorities don't need to be consecutive, but they must all be different.FirewallManagerRuleGroup.Builder firewallManagerStatement(FirewallManagerStatement firewallManagerStatement)
The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it can only contain a rule group reference.
firewallManagerStatement - The processing guidance for an Firewall Manager rule. This is like a regular rule Statement,
but it can only contain a rule group reference.default FirewallManagerRuleGroup.Builder firewallManagerStatement(Consumer<FirewallManagerStatement.Builder> firewallManagerStatement)
The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it can only contain a rule group reference.
This is a convenience method that creates an instance of theFirewallManagerStatement.Builder
avoiding the need to create one manually via FirewallManagerStatement.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to firewallManagerStatement(FirewallManagerStatement).
firewallManagerStatement - a consumer that will call methods on FirewallManagerStatement.BuilderfirewallManagerStatement(FirewallManagerStatement)FirewallManagerRuleGroup.Builder overrideAction(OverrideAction overrideAction)
The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement and ManagedRuleGroupStatement.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you
want the rules in the rule group to only count matches, do not use this and instead use the rule action
override option, with Count action, in your rule group reference statement settings.
overrideAction - The action to use in the place of the action that results from the rule group evaluation. Set the
override action to none to leave the result of the rule group alone. Set it to count to override the
result to count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement and ManagedRuleGroupStatement.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated.
If you want the rules in the rule group to only count matches, do not use this and instead use the
rule action override option, with Count action, in your rule group reference statement
settings.
default FirewallManagerRuleGroup.Builder overrideAction(Consumer<OverrideAction.Builder> overrideAction)
The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
You can only use this for rule statements that reference a rule group, like
RuleGroupReferenceStatement and ManagedRuleGroupStatement.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you
want the rules in the rule group to only count matches, do not use this and instead use the rule action
override option, with Count action, in your rule group reference statement settings.
OverrideAction.Builder avoiding
the need to create one manually via OverrideAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to overrideAction(OverrideAction).
overrideAction - a consumer that will call methods on OverrideAction.BuilderoverrideAction(OverrideAction)FirewallManagerRuleGroup.Builder visibilityConfig(VisibilityConfig visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
visibilityConfig - Defines and enables Amazon CloudWatch metrics and web request sample collection.default FirewallManagerRuleGroup.Builder visibilityConfig(Consumer<VisibilityConfig.Builder> visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
This is a convenience method that creates an instance of theVisibilityConfig.Builder avoiding the
need to create one manually via VisibilityConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to visibilityConfig(VisibilityConfig).
visibilityConfig - a consumer that will call methods on VisibilityConfig.BuildervisibilityConfig(VisibilityConfig)Copyright © 2023. All rights reserved.