Interface UpdateWebAclRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWebAclRequest.Builder,UpdateWebAclRequest>,SdkBuilder<UpdateWebAclRequest.Builder,UpdateWebAclRequest>,SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
- UpdateWebAclRequest
public static interface UpdateWebAclRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<UpdateWebAclRequest.Builder,UpdateWebAclRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builder
build
-
-
-
-
Method Detail
-
webACLId
UpdateWebAclRequest.Builder webACLId(String webACLId)
The
WebACLIdof the WebACL that you want to update.WebACLIdis returned by CreateWebACL and by ListWebACLs.- Parameters:
webACLId- TheWebACLIdof the WebACL that you want to update.WebACLIdis returned by CreateWebACL and by ListWebACLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeToken
UpdateWebAclRequest.Builder changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken- The value returned by the most recent call to GetChangeToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
UpdateWebAclRequest.Builder updates(Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.
An array of
WebACLUpdateobjects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
ActionandActivatedRule -
ActivatedRule: Contains
Action,OverrideAction,Priority,RuleId, andType.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction. -
WafAction: Contains
Type
- Parameters:
updates- An array of updates to make to the WebACL.An array of
WebACLUpdateobjects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
ActionandActivatedRule -
ActivatedRule: Contains
Action,OverrideAction,Priority,RuleId, andType.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction. -
WafAction: Contains
Type
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
updates
UpdateWebAclRequest.Builder updates(WebACLUpdate... updates)
An array of updates to make to the WebACL.
An array of
WebACLUpdateobjects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
ActionandActivatedRule -
ActivatedRule: Contains
Action,OverrideAction,Priority,RuleId, andType.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction. -
WafAction: Contains
Type
- Parameters:
updates- An array of updates to make to the WebACL.An array of
WebACLUpdateobjects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
ActionandActivatedRule -
ActivatedRule: Contains
Action,OverrideAction,Priority,RuleId, andType.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction. -
WafAction: Contains
Type
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
updates
UpdateWebAclRequest.Builder updates(Consumer<WebACLUpdate.Builder>... updates)
An array of updates to make to the WebACL.
An array of
WebACLUpdateobjects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
ActionandActivatedRule -
ActivatedRule: Contains
Action,OverrideAction,Priority,RuleId, andType.ActivatedRule|OverrideActionapplies only when updating or adding aRuleGroupto aWebACL. In this case, you do not useActivatedRule|Action. For all other update requests,ActivatedRule|Actionis used instead ofActivatedRule|OverrideAction. -
WafAction: Contains
Type
WebACLUpdate.Builderavoiding the need to create one manually viaWebACLUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#updates(List.) - Parameters:
updates- a consumer that will call methods onWebACLUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#updates(java.util.Collection)
-
-
defaultAction
UpdateWebAclRequest.Builder defaultAction(WafAction defaultAction)
A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
- Parameters:
defaultAction- A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAction
default UpdateWebAclRequest.Builder defaultAction(Consumer<WafAction.Builder> defaultAction)
A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
This is a convenience method that creates an instance of theWafAction.Builderavoiding the need to create one manually viaWafAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultAction(WafAction).- Parameters:
defaultAction- a consumer that will call methods onWafAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultAction(WafAction)
-
overrideConfiguration
UpdateWebAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWebAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-