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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAwsWafWebAclRule.builder().When the
Consumercompletes,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.
-