Interface UpdateWebAclRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWebAclRequest.Builder,,UpdateWebAclRequest> SdkBuilder<UpdateWebAclRequest.Builder,,UpdateWebAclRequest> SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
UpdateWebAclRequest
-
Method Summary
Modifier and TypeMethodDescriptionchangeToken(String changeToken) The value returned by the most recent call to GetChangeToken.default UpdateWebAclRequest.BuilderdefaultAction(Consumer<WafAction.Builder> defaultAction) A default action for the web ACL, either ALLOW or BLOCK.defaultAction(WafAction defaultAction) A default action for the web ACL, either ALLOW or BLOCK.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updates(Collection<WebACLUpdate> updates) An array of updates to make to the WebACL.updates(Consumer<WebACLUpdate.Builder>... updates) An array of updates to make to the WebACL.updates(WebACLUpdate... updates) An array of updates to make to the WebACL.TheWebACLIdof the WebACL that you want to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builder
build
-
Method Details
-
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
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
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
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
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 toupdates(List<WebACLUpdate>).- 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:
-
-
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
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:
-
overrideConfiguration
UpdateWebAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateWebAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-