Interface AwsWafWebAclDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsWafWebAclDetails.Builder,
,AwsWafWebAclDetails> SdkBuilder<AwsWafWebAclDetails.Builder,
,AwsWafWebAclDetails> SdkPojo
- Enclosing class:
AwsWafWebAclDetails
public static interface AwsWafWebAclDetails.Builder
extends SdkPojo, CopyableBuilder<AwsWafWebAclDetails.Builder,AwsWafWebAclDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultAction
(String defaultAction) The action to perform if none of the rules contained in the web ACL match.A friendly name or description of the web ACL.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
(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.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.A unique identifier for a web ACL.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.
- Parameters:
name
- A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAction
The action to perform if none of the rules contained in the web ACL match.
- Parameters:
defaultAction
- The action to perform if none of the rules contained in the web ACL match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAwsWafWebAclRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<AwsWafWebAclRule>)
.- Parameters:
rules
- a consumer that will call methods onAwsWafWebAclRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webAclId
A unique identifier for a web ACL.
- Parameters:
webAclId
- A unique identifier for a web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-