@Stability(value=Stable) public static final class BaseApplicationListenerRuleProps.Builder extends Object implements software.amazon.jsii.Builder<BaseApplicationListenerRuleProps>
BaseApplicationListenerRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BaseApplicationListenerRuleProps.Builder |
action(ListenerAction action)
Sets the value of
BaseApplicationListenerRuleProps.getAction() |
BaseApplicationListenerRuleProps |
build()
Builds the configured instance.
|
BaseApplicationListenerRuleProps.Builder |
conditions(List<? extends ListenerCondition> conditions)
Sets the value of
BaseApplicationListenerRuleProps.getConditions() |
BaseApplicationListenerRuleProps.Builder |
priority(Number priority)
Sets the value of
BaseApplicationListenerRuleProps.getPriority() |
BaseApplicationListenerRuleProps.Builder |
targetGroups(List<? extends IApplicationTargetGroup> targetGroups)
Sets the value of
BaseApplicationListenerRuleProps.getTargetGroups() |
@Stability(value=Stable) public BaseApplicationListenerRuleProps.Builder priority(Number priority)
BaseApplicationListenerRuleProps.getPriority()priority - Priority of the rule. This parameter is required.
The rule with the lowest priority will be used for every request.
Priorities must be unique.
this@Stability(value=Stable) public BaseApplicationListenerRuleProps.Builder action(ListenerAction action)
BaseApplicationListenerRuleProps.getAction()action - Action to perform when requests are received.
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.this@Stability(value=Stable) public BaseApplicationListenerRuleProps.Builder conditions(List<? extends ListenerCondition> conditions)
BaseApplicationListenerRuleProps.getConditions()conditions - Rule applies if matches the conditions.this@Stability(value=Stable) public BaseApplicationListenerRuleProps.Builder targetGroups(List<? extends IApplicationTargetGroup> targetGroups)
BaseApplicationListenerRuleProps.getTargetGroups()targetGroups - Target groups to forward requests to.
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.
Implies a forward action.
this@Stability(value=Stable) public BaseApplicationListenerRuleProps build()
build in interface software.amazon.jsii.Builder<BaseApplicationListenerRuleProps>BaseApplicationListenerRulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.