Interface FirewallManagerRuleGroup.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FirewallManagerRuleGroup.Builder,FirewallManagerRuleGroup>, SdkBuilder<FirewallManagerRuleGroup.Builder,FirewallManagerRuleGroup>, SdkPojo
Enclosing class:
FirewallManagerRuleGroup

public static interface FirewallManagerRuleGroup.Builder extends SdkPojo, CopyableBuilder<FirewallManagerRuleGroup.Builder,FirewallManagerRuleGroup>
  • Method Details

    • name

      The name of the rule group. You cannot change the name of a rule group after you create it.

      Parameters:
      name - The name of the rule group. You cannot change the name of a rule group after you create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallManagerStatement

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallManagerStatement

      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 the FirewallManagerStatement.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).

      Parameters:
      firewallManagerStatement - a consumer that will call methods on FirewallManagerStatement.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideAction

      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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideAction

      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.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      overrideAction - a consumer that will call methods on OverrideAction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • visibilityConfig

      FirewallManagerRuleGroup.Builder visibilityConfig(VisibilityConfig visibilityConfig)

      Defines and enables Amazon CloudWatch metrics and web request sample collection.

      Parameters:
      visibilityConfig - Defines and enables Amazon CloudWatch metrics and web request sample collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • visibilityConfig

      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 the VisibilityConfig.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).

      Parameters:
      visibilityConfig - a consumer that will call methods on VisibilityConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: