Interface RuleGroupUpdate.Builder

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

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

    • action

      Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

      Parameters:
      action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

      Parameters:
      action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • activatedRule

      RuleGroupUpdate.Builder activatedRule(ActivatedRule activatedRule)

      The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).

      Parameters:
      activatedRule - The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activatedRule

      default RuleGroupUpdate.Builder activatedRule(Consumer<ActivatedRule.Builder> activatedRule)

      The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).

      This is a convenience method that creates an instance of the ActivatedRule.Builder avoiding the need to create one manually via ActivatedRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to activatedRule(ActivatedRule).

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