public static interface UpdateRuleRequest.Builder extends WafRequest.Builder, CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
Modifier and Type | Method and Description |
---|---|
UpdateRuleRequest.Builder |
changeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
UpdateRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateRuleRequest.Builder |
ruleId(String ruleId)
The
RuleId of the Rule that you want to update. |
UpdateRuleRequest.Builder |
updates(Collection<RuleUpdate> updates)
An array of
RuleUpdate objects that you want to insert into or delete from a Rule. |
UpdateRuleRequest.Builder |
updates(Consumer<RuleUpdate.Builder>... updates)
An array of
RuleUpdate objects that you want to insert into or delete from a Rule. |
UpdateRuleRequest.Builder |
updates(RuleUpdate... updates)
An array of
RuleUpdate objects that you want to insert into or delete from a Rule. |
build
overrideConfiguration
copy
applyMutation, build
UpdateRuleRequest.Builder ruleId(String ruleId)
The RuleId
of the Rule
that you want to update. RuleId
is returned by
CreateRule
and by ListRules.
ruleId
- The RuleId
of the Rule
that you want to update. RuleId
is
returned by CreateRule
and by ListRules.UpdateRuleRequest.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.UpdateRuleRequest.Builder updates(Collection<RuleUpdate> updates)
An array of RuleUpdate
objects that you want to insert into or delete from a Rule. For
more information, see the applicable data types:
RuleUpdate: Contains Action
and Predicate
Predicate: Contains DataId
, Negated
, and Type
FieldToMatch: Contains Data
and Type
updates
- An array of RuleUpdate
objects that you want to insert into or delete from a Rule.
For more information, see the applicable data types:
RuleUpdate: Contains Action
and Predicate
Predicate: Contains DataId
, Negated
, and Type
FieldToMatch: Contains Data
and Type
UpdateRuleRequest.Builder updates(RuleUpdate... updates)
An array of RuleUpdate
objects that you want to insert into or delete from a Rule. For
more information, see the applicable data types:
RuleUpdate: Contains Action
and Predicate
Predicate: Contains DataId
, Negated
, and Type
FieldToMatch: Contains Data
and Type
updates
- An array of RuleUpdate
objects that you want to insert into or delete from a Rule.
For more information, see the applicable data types:
RuleUpdate: Contains Action
and Predicate
Predicate: Contains DataId
, Negated
, and Type
FieldToMatch: Contains Data
and Type
UpdateRuleRequest.Builder updates(Consumer<RuleUpdate.Builder>... updates)
An array of RuleUpdate
objects that you want to insert into or delete from a Rule. For
more information, see the applicable data types:
RuleUpdate: Contains Action
and Predicate
Predicate: Contains DataId
, Negated
, and Type
FieldToMatch: Contains Data
and 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)
UpdateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateRuleRequest.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.