Interface AwsWafRuleGroupDetails.Builder

    • Method Detail

      • metricName

        AwsWafRuleGroupDetails.Builder metricName​(String metricName)

        The name of the metrics for this rule group.

        Parameters:
        metricName - The name of the metrics for this rule group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        AwsWafRuleGroupDetails.Builder name​(String name)

        The name of the rule group.

        Parameters:
        name - The name of the rule group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleGroupId

        AwsWafRuleGroupDetails.Builder ruleGroupId​(String ruleGroupId)

        The ID of the rule group.

        Parameters:
        ruleGroupId - The ID of the rule group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        AwsWafRuleGroupDetails.Builder rules​(Collection<AwsWafRuleGroupRulesDetails> rules)

        Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.

        Parameters:
        rules - Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        AwsWafRuleGroupDetails.Builder rules​(AwsWafRuleGroupRulesDetails... rules)

        Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.

        Parameters:
        rules - Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
        Returns:
        Returns a reference to this object so that method calls can be chained together.