@Stability(value=Deprecated) @Deprecated public static final class AddRedirectResponseProps.Builder extends Object implements software.amazon.jsii.Builder<AddRedirectResponseProps>
AddRedirectResponseProps| Constructor and Description |
|---|
Builder()
Deprecated.
|
@Stability(value=Experimental) public AddRedirectResponseProps.Builder conditions(List<? extends ListenerCondition> conditions)
AddRuleProps.getConditions()conditions - Rule applies if matches the conditions.this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder hostHeader(String hostHeader)
AddRuleProps.getHostHeader()hostHeader - Rule applies if the requested host matches the indicated host.
May contain up to three '*' wildcards.
Requires that priority is set.
this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder pathPattern(String pathPattern)
AddRuleProps.getPathPattern()pathPattern - Rule applies if the requested path matches the given path pattern.
May contain up to three '*' wildcards.
Requires that priority is set.
this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder pathPatterns(List<String> pathPatterns)
AddRuleProps.getPathPatterns()pathPatterns - Rule applies if the requested path matches any of the given patterns.
May contain up to three '*' wildcards.
Requires that priority is set.
this@Stability(value=Experimental) public AddRedirectResponseProps.Builder priority(Number priority)
AddRuleProps.getPriority()priority - Priority of this target group.
The rule with the lowest priority will be used for every request.
If priority is not given, these target groups will be added as
defaults, and must not have conditions.
Priorities must be unique.
this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder statusCode(String statusCode)
RedirectResponse.getStatusCode()statusCode - The HTTP redirect code (HTTP_301 or HTTP_302). This parameter is required.this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder host(String host)
RedirectResponse.getHost()host - The hostname.
This component is not percent-encoded. The hostname can contain #{host}.this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder path(String path)
RedirectResponse.getPath()path - The absolute path, starting with the leading "/".
This component is not percent-encoded.
The path can contain #{host}, #{path}, and #{port}.this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder port(String port)
RedirectResponse.getPort()port - The port.
You can specify a value from 1 to 65535 or #{port}.this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder protocol(String protocol)
RedirectResponse.getProtocol()protocol - The protocol.
You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP,
HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps.Builder query(String query)
RedirectResponse.getQuery()query - The query parameters, URL-encoded when necessary, but not percent-encoded.
Do not include the leading "?", as it is automatically added.
You can specify any of the reserved keywords.this@Stability(value=Deprecated) @Deprecated public AddRedirectResponseProps build()
build in interface software.amazon.jsii.Builder<AddRedirectResponseProps>AddRedirectResponsePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.