public static interface UpdateWebAclRequest.Builder extends WafRequest.Builder, SdkPojo, CopyableBuilder<UpdateWebAclRequest.Builder,UpdateWebAclRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateWebAclRequest.Builder |
changeToken(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.
|
UpdateWebAclRequest.Builder |
defaultAction(WafAction defaultAction)
A default action for the web ACL, either ALLOW or BLOCK.
|
UpdateWebAclRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateWebAclRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateWebAclRequest.Builder |
updates(Collection<WebACLUpdate> updates)
An array of updates to make to the WebACL.
|
UpdateWebAclRequest.Builder |
updates(Consumer<WebACLUpdate.Builder>... updates)
An array of updates to make to the WebACL.
|
UpdateWebAclRequest.Builder |
updates(WebACLUpdate... updates)
An array of updates to make to the WebACL.
|
UpdateWebAclRequest.Builder |
webACLId(String webACLId)
The
WebACLId of the WebACL that you want to update. |
buildoverrideConfigurationcopyapplyMutation, buildUpdateWebAclRequest.Builder webACLId(String webACLId)
The WebACLId of the WebACL that you want to update. WebACLId is returned by
CreateWebACL and by ListWebACLs.
webACLId - The WebACLId of the WebACL that you want to update. WebACLId is
returned by CreateWebACL and by ListWebACLs.UpdateWebAclRequest.Builder changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken - The value returned by the most recent call to GetChangeToken.UpdateWebAclRequest.Builder updates(Collection<WebACLUpdate> 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 and ActivatedRule
ActivatedRule: Contains Action, OverrideAction, Priority,
RuleId, and Type. ActivatedRule|OverrideAction applies only when
updating or adding a RuleGroup to a WebACL. In this case you do not use
ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used
instead of ActivatedRule|OverrideAction.
WafAction: Contains Type
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 and ActivatedRule
ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only
when updating or adding a RuleGroup to a WebACL. In this case you do not use
ActivatedRule|Action. For all other update requests, ActivatedRule|Action is
used instead of ActivatedRule|OverrideAction.
WafAction: Contains Type
UpdateWebAclRequest.Builder updates(WebACLUpdate... 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 and ActivatedRule
ActivatedRule: Contains Action, OverrideAction, Priority,
RuleId, and Type. ActivatedRule|OverrideAction applies only when
updating or adding a RuleGroup to a WebACL. In this case you do not use
ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used
instead of ActivatedRule|OverrideAction.
WafAction: Contains Type
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 and ActivatedRule
ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only
when updating or adding a RuleGroup to a WebACL. In this case you do not use
ActivatedRule|Action. For all other update requests, ActivatedRule|Action is
used instead of ActivatedRule|OverrideAction.
WafAction: Contains Type
UpdateWebAclRequest.Builder updates(Consumer<WebACLUpdate.Builder>... 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 and ActivatedRule
ActivatedRule: Contains Action, OverrideAction, Priority,
RuleId, and Type. ActivatedRule|OverrideAction applies only when
updating or adding a RuleGroup to a WebACL. In this case you do not use
ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used
instead of ActivatedRule|OverrideAction.
WafAction: Contains Type
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #updates(List) .updates - a consumer that will call methods on List.Builder #updates(List) 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.
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.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 that creates an instance of theWafAction.Builder avoiding the need to create
one manually via WafAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to defaultAction(WafAction).defaultAction - a consumer that will call methods on WafAction.BuilderdefaultAction(WafAction)UpdateWebAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.UpdateWebAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.