public static interface AwsWafv2RuleGroupDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafv2RuleGroupDetails.Builder,AwsWafv2RuleGroupDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafv2RuleGroupDetails.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the entity.
|
AwsWafv2RuleGroupDetails.Builder |
capacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
|
AwsWafv2RuleGroupDetails.Builder |
description(String description)
A description of the rule group that helps with identification.
|
AwsWafv2RuleGroupDetails.Builder |
id(String id)
A unique identifier for the rule group.
|
AwsWafv2RuleGroupDetails.Builder |
name(String name)
The name of the rule group.
|
AwsWafv2RuleGroupDetails.Builder |
rules(AwsWafv2RulesDetails... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
AwsWafv2RuleGroupDetails.Builder |
rules(Collection<AwsWafv2RulesDetails> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
AwsWafv2RuleGroupDetails.Builder |
rules(Consumer<AwsWafv2RulesDetails.Builder>... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
AwsWafv2RuleGroupDetails.Builder |
scope(String scope)
Specifies whether the rule group is for an Amazon CloudFront distribution or for a regional application.
|
AwsWafv2RuleGroupDetails.Builder |
visibilityConfig(AwsWafv2VisibilityConfigDetails visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
default AwsWafv2RuleGroupDetails.Builder |
visibilityConfig(Consumer<AwsWafv2VisibilityConfigDetails.Builder> visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafv2RuleGroupDetails.Builder capacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
capacity - The web ACL capacity units (WCUs) required for this rule group.AwsWafv2RuleGroupDetails.Builder description(String description)
A description of the rule group that helps with identification.
description - A description of the rule group that helps with identification.AwsWafv2RuleGroupDetails.Builder id(String id)
A unique identifier for the rule group.
id - A unique identifier for the rule group.AwsWafv2RuleGroupDetails.Builder name(String name)
The name of the rule group. You cannot change the name of a rule group after you create it.
name - The name of the rule group. You cannot change the name of a rule group after you create it.AwsWafv2RuleGroupDetails.Builder arn(String arn)
The Amazon Resource Name (ARN) of the entity.
arn - The Amazon Resource Name (ARN) of the entity.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.
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.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.
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.AwsWafv2RuleGroupDetails.Builder rules(Consumer<AwsWafv2RulesDetails.Builder>... 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 theAwsWafv2RulesDetails.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.
rules - a consumer that will call methods on
AwsWafv2RulesDetails.Builder#rules(java.util.Collection) 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.
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.AwsWafv2RuleGroupDetails.Builder visibilityConfig(AwsWafv2VisibilityConfigDetails visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
visibilityConfig - Defines and enables Amazon CloudWatch metrics and web request sample collection.default AwsWafv2RuleGroupDetails.Builder visibilityConfig(Consumer<AwsWafv2VisibilityConfigDetails.Builder> visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
This is a convenience method that creates an instance of theAwsWafv2VisibilityConfigDetails.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).
visibilityConfig - a consumer that will call methods on AwsWafv2VisibilityConfigDetails.BuildervisibilityConfig(AwsWafv2VisibilityConfigDetails)Copyright © 2023. All rights reserved.