public static interface AwsWafWebAclDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafWebAclDetails.Builder,AwsWafWebAclDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafWebAclDetails.Builder |
defaultAction(String defaultAction)
The action to perform if none of the rules contained in the web ACL match.
|
AwsWafWebAclDetails.Builder |
name(String name)
A friendly name or description of the web ACL.
|
AwsWafWebAclDetails.Builder |
rules(AwsWafWebAclRule... rules)
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the
rule.
|
AwsWafWebAclDetails.Builder |
rules(Collection<AwsWafWebAclRule> rules)
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the
rule.
|
AwsWafWebAclDetails.Builder |
rules(Consumer<AwsWafWebAclRule.Builder>... rules)
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the
rule.
|
AwsWafWebAclDetails.Builder |
webAclId(String webAclId)
A unique identifier for a web ACL.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafWebAclDetails.Builder name(String name)
A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.
name - A friendly name or description of the web ACL. You can't change the name of a web ACL after you create
it.AwsWafWebAclDetails.Builder defaultAction(String 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.AwsWafWebAclDetails.Builder rules(Collection<AwsWafWebAclRule> rules)
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
rules - An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of
the rule.AwsWafWebAclDetails.Builder rules(AwsWafWebAclRule... rules)
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
rules - An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of
the rule.AwsWafWebAclDetails.Builder rules(Consumer<AwsWafWebAclRule.Builder>... rules)
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
This is a convenience method that creates an instance of theAwsWafWebAclRule.Builder avoiding the need to
create one manually via AwsWafWebAclRule.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
AwsWafWebAclRule.Builder#rules(java.util.Collection) AwsWafWebAclDetails.Builder webAclId(String webAclId)
A unique identifier for a web ACL.
webAclId - A unique identifier for a web ACL.Copyright © 2023. All rights reserved.