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.Builder
defaultAction
(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.TheWebACLId
of the WebACL that you want to update.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builder
build
-
Method Details
-
webACLId
The
WebACLId
of the WebACL that you want to update.WebACLId
is returned by CreateWebACL and by ListWebACLs.- Parameters:
webACLId
- TheWebACLId
of the WebACL that you want to update.WebACLId
is 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
WebACLUpdate
objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
Action
andActivatedRule
-
ActivatedRule: Contains
Action
,OverrideAction
,Priority
,RuleId
, andType
.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case, you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
. -
WafAction: Contains
Type
- Parameters:
updates
- An array of updates to make to the WebACL.An array of
WebACLUpdate
objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
Action
andActivatedRule
-
ActivatedRule: Contains
Action
,OverrideAction
,Priority
,RuleId
, andType
.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case, you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is 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
WebACLUpdate
objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
Action
andActivatedRule
-
ActivatedRule: Contains
Action
,OverrideAction
,Priority
,RuleId
, andType
.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case, you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
. -
WafAction: Contains
Type
- Parameters:
updates
- An array of updates to make to the WebACL.An array of
WebACLUpdate
objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
Action
andActivatedRule
-
ActivatedRule: Contains
Action
,OverrideAction
,Priority
,RuleId
, andType
.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case, you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is 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
WebACLUpdate
objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:-
WebACLUpdate: Contains
Action
andActivatedRule
-
ActivatedRule: Contains
Action
,OverrideAction
,Priority
,RuleId
, andType
.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case, you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
. -
WafAction: Contains
Type
WebACLUpdate.Builder
avoiding the need to create one manually viaWebACLUpdate.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaWafAction.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-