public static interface CreateRuleRequest.Builder extends ElasticLoadBalancingv2Request.Builder, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
buildrequestOverrideConfigcopyapply, buildCreateRuleRequest.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)
The conditions. 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 - The conditions. 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)
The conditions. 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 - The conditions. 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(Consumer<RuleCondition.Builder>... conditions)
The conditions. 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)
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) 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.
actions - An action. Each action has the type forward and specifies a target group.CreateRuleRequest.Builder actions(Consumer<Action.Builder>... actions)
An action. Each action has the type forward and specifies a target group.
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) CreateRuleRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateRuleRequest.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.