CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
, SdkBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
public static interface UpdateRuleRequest.Builder extends CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateRuleRequest.Builder |
changeToken(String changeToken) |
The value returned by the most recent call to GetChangeToken.
|
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(RuleUpdate... updates) |
An array of
RuleUpdate objects that you want to insert into or delete from a Rule. |
copy
apply, 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
NOTE: This method appends the values to the existing list (if any). Use
#setUpdates(java.util.Collection)
or #withUpdates(java.util.Collection)
if you want to
override the existing values.
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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.