Interface AwsWafv2RuleGroupDetails.Builder

  • Method Details

    • 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

      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

      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

      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

      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

      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

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rules(List<AwsWafv2RulesDetails>).

      Parameters:
      rules - a consumer that will call methods on AwsWafv2RulesDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

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

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

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

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