public static interface Rule.Builder extends SdkPojo, CopyableBuilder<Rule.Builder,Rule>
| Modifier and Type | Method and Description |
|---|---|
Rule.Builder |
actions(Action... actions)
The actions.
|
Rule.Builder |
actions(Collection<Action> actions)
The actions.
|
Rule.Builder |
actions(Consumer<Action.Builder>... actions)
The actions.
|
Rule.Builder |
conditions(Collection<RuleCondition> conditions)
The conditions.
|
Rule.Builder |
conditions(Consumer<RuleCondition.Builder>... 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRule.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. Each rule can include zero or one of the following conditions:
http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header and
query-string.
conditions - The conditions. Each rule can include zero or one of the following conditions:
http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header and
query-string.Rule.Builder conditions(RuleCondition... conditions)
The conditions. Each rule can include zero or one of the following conditions:
http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header and
query-string.
conditions - The conditions. Each rule can include zero or one of the following conditions:
http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header and
query-string.Rule.Builder conditions(Consumer<RuleCondition.Builder>... conditions)
The conditions. Each rule can include zero or one of the following conditions:
http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header and
query-string.
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 #conditions(List) .conditions - a consumer that will call methods on List.Builder #conditions(List) Rule.Builder actions(Collection<Action> actions)
The actions. Each rule must include exactly one of the following types of actions: forward,
redirect, or fixed-response, and it must be the last action to be performed.
actions - The actions. Each rule must include exactly one of the following types of actions:
forward, redirect, or fixed-response, and it must be the last
action to be performed.Rule.Builder actions(Action... actions)
The actions. Each rule must include exactly one of the following types of actions: forward,
redirect, or fixed-response, and it must be the last action to be performed.
actions - The actions. Each rule must include exactly one of the following types of actions:
forward, redirect, or fixed-response, and it must be the last
action to be performed.Rule.Builder actions(Consumer<Action.Builder>... actions)
The actions. Each rule must include exactly one of the following types of actions: forward,
redirect, or fixed-response, and it must be the last action to be performed.
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 #actions(List) .actions - a consumer that will call methods on List.Builder #actions(List) Rule.Builder isDefault(Boolean isDefault)
Indicates whether this is the default rule.
isDefault - Indicates whether this is the default rule.Copyright © 2019. All rights reserved.