public static interface CreateRuleRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateRuleRequest.Builder |
actions(Action... actions)
The actions.
|
CreateRuleRequest.Builder |
actions(Collection<Action> actions)
The actions.
|
CreateRuleRequest.Builder |
actions(Consumer<Action.Builder>... actions)
The actions.
|
CreateRuleRequest.Builder |
conditions(Collection<RuleCondition> conditions)
The conditions.
|
CreateRuleRequest.Builder |
conditions(Consumer<RuleCondition.Builder>... conditions)
The conditions.
|
CreateRuleRequest.Builder |
conditions(RuleCondition... conditions)
The conditions.
|
CreateRuleRequest.Builder |
listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
CreateRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRuleRequest.Builder |
priority(Integer priority)
The rule priority.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 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.CreateRuleRequest.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.CreateRuleRequest.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) CreateRuleRequest.Builder priority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
priority - The rule priority. A listener can't have multiple rules with the same priority.CreateRuleRequest.Builder actions(Collection<Action> actions)
The actions. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect, and it must be the last action to be performed.
If the action type is forward, you specify one or more target groups. 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, and it must be the last
action to be performed.
If the action type is forward, you specify one or more target groups. 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.
CreateRuleRequest.Builder actions(Action... actions)
The actions. Each rule must include exactly one of the following types of actions: forward,
fixed-response, or redirect, and it must be the last action to be performed.
If the action type is forward, you specify one or more target groups. 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, and it must be the last
action to be performed.
If the action type is forward, you specify one or more target groups. 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.
CreateRuleRequest.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, and it must be the last action to be performed.
If the action type is forward, you specify one or more target groups. 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) CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.