CopyableBuilder<Rule.Builder,Rule>
, SdkBuilder<Rule.Builder,Rule>
public static interface Rule.Builder extends CopyableBuilder<Rule.Builder,Rule>
Modifier and Type | Method | Description |
---|---|---|
Rule.Builder |
actions(Collection<Action> actions) |
The actions.
|
Rule.Builder |
actions(Action... actions) |
The actions.
|
Rule.Builder |
conditions(Collection<RuleCondition> conditions) |
The conditions.
|
Rule.Builder |
conditions(RuleCondition... conditions) |
The conditions.
|
Rule.Builder |
isDefault(Boolean isDefault) |
Indicates whether this is the default rule.
|
Rule.Builder |
priority(String priority) |
The priority.
|
Rule.Builder |
ruleArn(String ruleArn) |
The Amazon Resource Name (ARN) of the rule.
|
copy
apply, build
Rule.Builder ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn
- The Amazon Resource Name (ARN) of the rule.Rule.Builder priority(String priority)
The priority.
priority
- The priority.Rule.Builder conditions(Collection<RuleCondition> conditions)
The conditions.
conditions
- The conditions.Rule.Builder conditions(RuleCondition... conditions)
The conditions.
NOTE: This method appends the values to the existing list (if any). Use
#setConditions(java.util.Collection)
or #withConditions(java.util.Collection)
if you want to
override the existing values.
conditions
- The conditions.Rule.Builder actions(Collection<Action> actions)
The actions.
actions
- The actions.Rule.Builder actions(Action... actions)
The actions.
NOTE: This method appends the values to the existing list (if any). Use
#setActions(java.util.Collection)
or #withActions(java.util.Collection)
if you want to
override the existing values.
actions
- The actions.Rule.Builder isDefault(Boolean isDefault)
Indicates whether this is the default rule.
isDefault
- Indicates whether this is the default rule.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.