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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateRuleRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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. |
buildrequestOverrideConfigcopyapply, buildUpdateRuleRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.UpdateRuleRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.