public static interface UpdateWebAclRequest.Builder extends WafRequest.Builder, 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. |
build
overrideConfiguration
copy
applyMutation, build
UpdateWebAclRequest.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
, Priority
, RuleId
, and
Type
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
, Priority
, RuleId
, and
Type
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
, Priority
, RuleId
, and
Type
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
, Priority
, RuleId
, and
Type
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
, Priority
, RuleId
, and
Type
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.Builder
defaultAction(WafAction)
UpdateWebAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateWebAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.