Interface AwsWafv2RuleGroupDetails.Builder

    • Method Detail

      • capacity

        AwsWafv2RuleGroupDetails.Builder capacity​(Long capacity)

        The web ACL capacity units (WCUs) required for this rule group.

        Parameters:
        capacity - The web ACL capacity units (WCUs) required for this rule group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        AwsWafv2RuleGroupDetails.Builder description​(String description)

        A description of the rule group that helps with identification.

        Parameters:
        description - A description of the rule group that helps with identification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        AwsWafv2RuleGroupDetails.Builder id​(String id)

        A unique identifier for the rule group.

        Parameters:
        id - A unique identifier for the rule group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        AwsWafv2RuleGroupDetails.Builder name​(String 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.
      • arn

        AwsWafv2RuleGroupDetails.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the entity.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the entity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        AwsWafv2RuleGroupDetails.Builder rules​(Collection<AwsWafv2RulesDetails> rules)

        The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

        Parameters:
        rules - The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        AwsWafv2RuleGroupDetails.Builder rules​(AwsWafv2RulesDetails... rules)

        The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.

        Parameters:
        rules - The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one top-level statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scope

        AwsWafv2RuleGroupDetails.Builder scope​(String scope)

        Specifies whether the rule group is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool.

        Parameters:
        scope - Specifies whether the rule group is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • visibilityConfig

        AwsWafv2RuleGroupDetails.Builder visibilityConfig​(AwsWafv2VisibilityConfigDetails 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.