Interface AwsWafRegionalWebAclDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsWafRegionalWebAclDetails.Builder,AwsWafRegionalWebAclDetails>,SdkBuilder<AwsWafRegionalWebAclDetails.Builder,AwsWafRegionalWebAclDetails>,SdkPojo
- Enclosing class:
- AwsWafRegionalWebAclDetails
public static interface AwsWafRegionalWebAclDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRegionalWebAclDetails.Builder,AwsWafRegionalWebAclDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsWafRegionalWebAclDetails.BuilderdefaultAction(String defaultAction)The action to perform if none of the rules contained in the web ACL match.AwsWafRegionalWebAclDetails.BuildermetricName(String metricName)A name for the metrics for this web ACL.AwsWafRegionalWebAclDetails.Buildername(String name)A descriptive name for the web ACL.AwsWafRegionalWebAclDetails.BuilderrulesList(Collection<AwsWafRegionalWebAclRulesListDetails> rulesList)An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.AwsWafRegionalWebAclDetails.BuilderrulesList(Consumer<AwsWafRegionalWebAclRulesListDetails.Builder>... rulesList)An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.AwsWafRegionalWebAclDetails.BuilderrulesList(AwsWafRegionalWebAclRulesListDetails... rulesList)An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.AwsWafRegionalWebAclDetails.BuilderwebAclId(String webAclId)The ID of the 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 Detail
-
defaultAction
AwsWafRegionalWebAclDetails.Builder defaultAction(String 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.
-
metricName
AwsWafRegionalWebAclDetails.Builder metricName(String metricName)
A name for the metrics for this web ACL.
- Parameters:
metricName- A name for the metrics for this web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AwsWafRegionalWebAclDetails.Builder name(String name)
A descriptive name for the web ACL.
- Parameters:
name- A descriptive name for the web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesList
AwsWafRegionalWebAclDetails.Builder rulesList(Collection<AwsWafRegionalWebAclRulesListDetails> rulesList)
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:
rulesList- 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.
-
rulesList
AwsWafRegionalWebAclDetails.Builder rulesList(AwsWafRegionalWebAclRulesListDetails... rulesList)
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:
rulesList- 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.
-
rulesList
AwsWafRegionalWebAclDetails.Builder rulesList(Consumer<AwsWafRegionalWebAclRulesListDetails.Builder>... rulesList)
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 theAwsWafRegionalWebAclRulesListDetails.Builderavoiding the need to create one manually viaAwsWafRegionalWebAclRulesListDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rulesList(List.) - Parameters:
rulesList- a consumer that will call methods onAwsWafRegionalWebAclRulesListDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rulesList(java.util.Collection)
-
webAclId
AwsWafRegionalWebAclDetails.Builder webAclId(String webAclId)
The ID of the web ACL.
- Parameters:
webAclId- The ID of the web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-