public static interface AwsWafv2RulesDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafv2RulesDetails.Builder,AwsWafv2RulesDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafv2RulesDetails.Builder |
action(AwsWafv2RulesActionDetails action)
The action that WAF should take on a web request when it matches the rule statement.
|
default AwsWafv2RulesDetails.Builder |
action(Consumer<AwsWafv2RulesActionDetails.Builder> action)
The action that WAF should take on a web request when it matches the rule statement.
|
AwsWafv2RulesDetails.Builder |
name(String name)
The name of the rule.
|
AwsWafv2RulesDetails.Builder |
overrideAction(String overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
|
AwsWafv2RulesDetails.Builder |
priority(Integer priority)
If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order based on
the value of
Priority. |
AwsWafv2RulesDetails.Builder |
visibilityConfig(AwsWafv2VisibilityConfigDetails visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
default AwsWafv2RulesDetails.Builder |
visibilityConfig(Consumer<AwsWafv2VisibilityConfigDetails.Builder> visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafv2RulesDetails.Builder action(AwsWafv2RulesActionDetails action)
The action that WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.
action - The action that WAF should take on a web request when it matches the rule statement. Settings at the
web ACL level can override the rule action setting.default AwsWafv2RulesDetails.Builder action(Consumer<AwsWafv2RulesActionDetails.Builder> action)
The action that WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.
This is a convenience method that creates an instance of theAwsWafv2RulesActionDetails.Builder
avoiding the need to create one manually via AwsWafv2RulesActionDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to action(AwsWafv2RulesActionDetails).
action - a consumer that will call methods on AwsWafv2RulesActionDetails.Builderaction(AwsWafv2RulesActionDetails)AwsWafv2RulesDetails.Builder name(String name)
The name of the rule.
name - The name of the rule.AwsWafv2RulesDetails.Builder overrideAction(String overrideAction)
The action to use in the place of the action that results from the rule group evaluation.
overrideAction - The action to use in the place of the action that results from the rule group evaluation.AwsWafv2RulesDetails.Builder priority(Integer priority)
If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order based on
the value of Priority. WAF processes rules with lower priority first. The priorities don't need
to be consecutive, but they must all be different.
priority - If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order
based on the value of Priority. WAF processes rules with lower priority first. The
priorities don't need to be consecutive, but they must all be different.AwsWafv2RulesDetails.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 AwsWafv2RulesDetails.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.