@Stability(value=Deprecated) @Deprecated public static final class RedirectResponse.Builder extends Object implements software.amazon.jsii.Builder<RedirectResponse>
RedirectResponse| Constructor and Description |
|---|
Builder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RedirectResponse |
build()
Deprecated.
|
RedirectResponse.Builder |
host(String host)
Deprecated.
|
RedirectResponse.Builder |
path(String path)
Deprecated.
|
RedirectResponse.Builder |
port(String port)
Deprecated.
|
RedirectResponse.Builder |
protocol(String protocol)
Deprecated.
|
RedirectResponse.Builder |
query(String query)
Deprecated.
|
RedirectResponse.Builder |
statusCode(String statusCode)
Deprecated.
|
@Stability(value=Deprecated) @Deprecated public RedirectResponse.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 RedirectResponse.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 RedirectResponse.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 RedirectResponse.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 RedirectResponse.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 RedirectResponse.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 RedirectResponse build()
build in interface software.amazon.jsii.Builder<RedirectResponse>RedirectResponseNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.