CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
, SdkBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
public static interface CreateRuleRequest.Builder extends CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateRuleRequest.Builder |
actions(Collection<Action> actions) |
An action.
|
CreateRuleRequest.Builder |
actions(Action... actions) |
An action.
|
CreateRuleRequest.Builder |
conditions(Collection<RuleCondition> conditions) |
A condition.
|
CreateRuleRequest.Builder |
conditions(RuleCondition... conditions) |
A condition.
|
CreateRuleRequest.Builder |
listenerArn(String listenerArn) |
The Amazon Resource Name (ARN) of the listener.
|
CreateRuleRequest.Builder |
priority(Integer priority) |
The priority for the rule.
|
copy
apply, build
CreateRuleRequest.Builder listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.CreateRuleRequest.Builder conditions(Collection<RuleCondition> conditions)
A condition. Each condition specifies a field name and a single value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any
of the following characters. Note that you can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern. A path pattern is case
sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that
you can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
conditions
- A condition. Each condition specifies a field name and a single value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can
contain any of the following characters. Note that you can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern. A path pattern
is case sensitive, can be up to 128 characters in length, and can contain any of the following
characters. Note that you can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
CreateRuleRequest.Builder conditions(RuleCondition... conditions)
A condition. Each condition specifies a field name and a single value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any
of the following characters. Note that you can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern. A path pattern is case
sensitive, can be up to 128 characters in length, and can contain any of the following characters. Note that
you can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
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
- A condition. Each condition specifies a field name and a single value.
If the field name is host-header
, you can specify a single host name (for example,
my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can
contain any of the following characters. Note that you can include up to three wildcard characters.
A-Z, a-z, 0-9
- .
* (matches 0 or more characters)
? (matches exactly 1 character)
If the field name is path-pattern
, you can specify a single path pattern. A path pattern
is case sensitive, can be up to 128 characters in length, and can contain any of the following
characters. Note that you can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
CreateRuleRequest.Builder priority(Integer priority)
The priority for the rule. A listener can't have multiple rules with the same priority.
priority
- The priority for the rule. A listener can't have multiple rules with the same priority.CreateRuleRequest.Builder actions(Collection<Action> actions)
An action. Each action has the type forward
and specifies a target group.
actions
- An action. Each action has the type forward
and specifies a target group.CreateRuleRequest.Builder actions(Action... actions)
An action. Each action has the type forward
and specifies a target group.
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
- An action. Each action has the type forward
and specifies a target group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.