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) |
ModifyRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifyRuleRequest.Builder |
ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyRuleRequest.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 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.ModifyRuleRequest.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.ModifyRuleRequest.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) ModifyRuleRequest.Builder actions(Collection<Action> actions)
The actions. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect.
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. The protocol of the target group must be TCP, TLS, UDP, or
TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] 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. Each rule must include exactly one of the following types of actions:
forward, fixed-response, or redirect.
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. The protocol of the target group must be
TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through
an identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] 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. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect.
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. The protocol of the target group must be TCP, TLS, UDP, or
TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] 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. Each rule must include exactly one of the following types of actions:
forward, fixed-response, or redirect.
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. The protocol of the target group must be
TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through
an identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] 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. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect.
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. The protocol of the target group must be TCP, TLS, UDP, or
TCP_UDP for a Network Load Balancer.
[HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
[HTTPS listeners] 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)
overrideConfiguration in interface AwsRequest.BuilderModifyRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.