public static interface ModifyRuleRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<ModifyRuleRequest.Builder,ModifyRuleRequest>
Modifier and Type | Method and Description |
---|---|
ModifyRuleRequest.Builder |
actions(Action... actions)
The actions.
|
ModifyRuleRequest.Builder |
actions(Collection<Action> actions)
The actions.
|
ModifyRuleRequest.Builder |
actions(Consumer<Action.Builder>... actions)
The actions.
|
ModifyRuleRequest.Builder |
conditions(Collection<RuleCondition> conditions)
The conditions.
|
ModifyRuleRequest.Builder |
conditions(Consumer<RuleCondition.Builder>... conditions)
The conditions.
|
ModifyRuleRequest.Builder |
conditions(RuleCondition... conditions)
The conditions.
|
ModifyRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifyRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyRuleRequest.Builder |
ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
build
overrideConfiguration
copy
applyMutation, build
ModifyRuleRequest.Builder ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn
- The Amazon Resource Name (ARN) of the rule.ModifyRuleRequest.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. 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. 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. 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. You can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
ModifyRuleRequest.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. 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. 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. 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. You can include up to three wildcard characters.
A-Z, a-z, 0-9
_ - . $ / ~ " ' @ : +
& (using &)
* (matches 0 or more characters)
? (matches exactly 1 character)
ModifyRuleRequest.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. 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. 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)
ModifyRuleRequest.Builder actions(Collection<Action> actions)
The actions.
If the action type is forward
, you specify a target group. The protocol of the target group must
be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
[HTTPS listener] If the action type is authenticate-oidc
, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listener] If the action type is authenticate-cognito
, you authenticate users through the
user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect
, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response
, you drop specified client
requests and return a custom HTTP response.
actions
- The actions.
If the action type is forward
, you specify a target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
[HTTPS listener] If the action type is authenticate-oidc
, you authenticate users through
an identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listener] If the action type is authenticate-cognito
, you authenticate users
through the user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect
, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response
, you drop specified
client requests and return a custom HTTP response.
ModifyRuleRequest.Builder actions(Action... actions)
The actions.
If the action type is forward
, you specify a target group. The protocol of the target group must
be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
[HTTPS listener] If the action type is authenticate-oidc
, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listener] If the action type is authenticate-cognito
, you authenticate users through the
user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect
, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response
, you drop specified client
requests and return a custom HTTP response.
actions
- The actions.
If the action type is forward
, you specify a target group. The protocol of the target
group must be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
[HTTPS listener] If the action type is authenticate-oidc
, you authenticate users through
an identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listener] If the action type is authenticate-cognito
, you authenticate users
through the user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect
, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response
, you drop specified
client requests and return a custom HTTP response.
ModifyRuleRequest.Builder actions(Consumer<Action.Builder>... actions)
The actions.
If the action type is forward
, you specify a target group. The protocol of the target group must
be HTTP or HTTPS for an Application Load Balancer or TCP for a Network Load Balancer.
[HTTPS listener] If the action type is authenticate-oidc
, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listener] If the action type is authenticate-cognito
, you authenticate users through the
user pools supported by Amazon Cognito.
[Application Load Balancer] If the action type is redirect
, you redirect specified client
requests from one URL to another.
[Application Load Balancer] If the action type is fixed-response
, you drop specified client
requests and return a custom HTTP response.
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)
ModifyRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.