@Stability(value=Experimental) public static final class BaseApplicationListenerRuleProps.Builder extends Object implements software.amazon.jsii.Builder<BaseApplicationListenerRuleProps>
BaseApplicationListenerRuleProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) 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=Experimental) 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=Experimental) public BaseApplicationListenerRuleProps.Builder conditions(List<? extends ListenerCondition> conditions)
BaseApplicationListenerRuleProps.getConditions()conditions - Rule applies if matches the conditions.this@Stability(value=Deprecated) @Deprecated public BaseApplicationListenerRuleProps.Builder fixedResponse(FixedResponse fixedResponse)
BaseApplicationListenerRuleProps.getFixedResponse()fixedResponse - Fixed response to return.
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.this@Stability(value=Deprecated) @Deprecated public BaseApplicationListenerRuleProps.Builder hostHeader(String hostHeader)
BaseApplicationListenerRuleProps.getHostHeader()hostHeader - Rule applies if the requested host matches the indicated host.
May contain up to three '*' wildcards.this@Stability(value=Deprecated) @Deprecated public BaseApplicationListenerRuleProps.Builder pathPattern(String pathPattern)
BaseApplicationListenerRuleProps.getPathPattern()pathPattern - Rule applies if the requested path matches the given path pattern.this@Stability(value=Deprecated) @Deprecated public BaseApplicationListenerRuleProps.Builder pathPatterns(List<String> pathPatterns)
BaseApplicationListenerRuleProps.getPathPatterns()pathPatterns - Rule applies if the requested path matches any of the given patterns.
Paths may contain up to three '*' wildcards.this@Stability(value=Deprecated) @Deprecated public BaseApplicationListenerRuleProps.Builder redirectResponse(RedirectResponse redirectResponse)
BaseApplicationListenerRuleProps.getRedirectResponse()redirectResponse - Redirect response to return.
Only one of action, fixedResponse, redirectResponse or targetGroups can be specified.this@Stability(value=Experimental) 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=Experimental) public BaseApplicationListenerRuleProps build()
build in interface software.amazon.jsii.Builder<BaseApplicationListenerRuleProps>BaseApplicationListenerRulePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.