public static interface AwsWafv2WebAclDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafv2WebAclDetails.Builder,AwsWafv2WebAclDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafv2WebAclDetails.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
|
AwsWafv2WebAclDetails.Builder |
capacity(Long capacity)
The web ACL capacity units (WCUs) currently being used by this web ACL.
|
AwsWafv2WebAclDetails.Builder |
captchaConfig(AwsWafv2WebAclCaptchaConfigDetails captchaConfig)
Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own
CaptchaConfig settings. |
default AwsWafv2WebAclDetails.Builder |
captchaConfig(Consumer<AwsWafv2WebAclCaptchaConfigDetails.Builder> captchaConfig)
Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own
CaptchaConfig settings. |
AwsWafv2WebAclDetails.Builder |
defaultAction(AwsWafv2WebAclActionDetails defaultAction)
The action to perform if none of the Rules contained in the web ACL match.
|
default AwsWafv2WebAclDetails.Builder |
defaultAction(Consumer<AwsWafv2WebAclActionDetails.Builder> defaultAction)
The action to perform if none of the Rules contained in the web ACL match.
|
AwsWafv2WebAclDetails.Builder |
description(String description)
A description of the web ACL that helps with identification.
|
AwsWafv2WebAclDetails.Builder |
id(String id)
A unique identifier for the web ACL.
|
AwsWafv2WebAclDetails.Builder |
managedbyFirewallManager(Boolean managedbyFirewallManager)
Indicates whether this web ACL is managed by Firewall Manager.
|
AwsWafv2WebAclDetails.Builder |
name(String name)
The name of the web ACL.
|
AwsWafv2WebAclDetails.Builder |
rules(AwsWafv2RulesDetails... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
AwsWafv2WebAclDetails.Builder |
rules(Collection<AwsWafv2RulesDetails> rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
AwsWafv2WebAclDetails.Builder |
rules(Consumer<AwsWafv2RulesDetails.Builder>... rules)
The Rule statements used to identify the web requests that you want to allow, block, or count.
|
AwsWafv2WebAclDetails.Builder |
visibilityConfig(AwsWafv2VisibilityConfigDetails visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
default AwsWafv2WebAclDetails.Builder |
visibilityConfig(Consumer<AwsWafv2VisibilityConfigDetails.Builder> visibilityConfig)
Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafv2WebAclDetails.Builder name(String name)
The name of the web ACL.
name - The name of the web ACL.AwsWafv2WebAclDetails.Builder arn(String arn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
arn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.AwsWafv2WebAclDetails.Builder managedbyFirewallManager(Boolean managedbyFirewallManager)
Indicates whether this web ACL is managed by Firewall Manager.
managedbyFirewallManager - Indicates whether this web ACL is managed by Firewall Manager.AwsWafv2WebAclDetails.Builder id(String id)
A unique identifier for the web ACL.
id - A unique identifier for the web ACL.AwsWafv2WebAclDetails.Builder capacity(Long capacity)
The web ACL capacity units (WCUs) currently being used by this web ACL.
capacity - The web ACL capacity units (WCUs) currently being used by this web ACL.AwsWafv2WebAclDetails.Builder captchaConfig(AwsWafv2WebAclCaptchaConfigDetails captchaConfig)
Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own
CaptchaConfig settings.
captchaConfig - Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own
CaptchaConfig settings.default AwsWafv2WebAclDetails.Builder captchaConfig(Consumer<AwsWafv2WebAclCaptchaConfigDetails.Builder> captchaConfig)
Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own
CaptchaConfig settings.
AwsWafv2WebAclCaptchaConfigDetails.Builder avoiding the need to create one manually via
AwsWafv2WebAclCaptchaConfigDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to captchaConfig(AwsWafv2WebAclCaptchaConfigDetails).
captchaConfig - a consumer that will call methods on AwsWafv2WebAclCaptchaConfigDetails.BuildercaptchaConfig(AwsWafv2WebAclCaptchaConfigDetails)AwsWafv2WebAclDetails.Builder defaultAction(AwsWafv2WebAclActionDetails defaultAction)
The action to perform if none of the Rules contained in the web ACL match.
defaultAction - The action to perform if none of the Rules contained in the web ACL match.default AwsWafv2WebAclDetails.Builder defaultAction(Consumer<AwsWafv2WebAclActionDetails.Builder> defaultAction)
The action to perform if none of the Rules contained in the web ACL match.
This is a convenience method that creates an instance of theAwsWafv2WebAclActionDetails.Builder
avoiding the need to create one manually via AwsWafv2WebAclActionDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to defaultAction(AwsWafv2WebAclActionDetails).
defaultAction - a consumer that will call methods on AwsWafv2WebAclActionDetails.BuilderdefaultAction(AwsWafv2WebAclActionDetails)AwsWafv2WebAclDetails.Builder description(String description)
A description of the web ACL that helps with identification.
description - A description of the web ACL that helps with identification.AwsWafv2WebAclDetails.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.AwsWafv2WebAclDetails.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.AwsWafv2WebAclDetails.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) AwsWafv2WebAclDetails.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 AwsWafv2WebAclDetails.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.