public static interface RedirectActionConfig.Builder extends SdkPojo, CopyableBuilder<RedirectActionConfig.Builder,RedirectActionConfig>
| Modifier and Type | Method and Description |
|---|---|
RedirectActionConfig.Builder |
host(String host)
The hostname.
|
RedirectActionConfig.Builder |
path(String path)
The absolute path, starting with the leading "/".
|
RedirectActionConfig.Builder |
port(String port)
The port.
|
RedirectActionConfig.Builder |
protocol(String protocol)
The protocol.
|
RedirectActionConfig.Builder |
query(String query)
The query parameters, URL-encoded when necessary, but not percent-encoded.
|
RedirectActionConfig.Builder |
statusCode(RedirectActionStatusCodeEnum statusCode)
The HTTP redirect code.
|
RedirectActionConfig.Builder |
statusCode(String statusCode)
The HTTP redirect code.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRedirectActionConfig.Builder protocol(String 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.
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.RedirectActionConfig.Builder port(String port)
The port. You can specify a value from 1 to 65535 or #{port}.
port - The port. You can specify a value from 1 to 65535 or #{port}.RedirectActionConfig.Builder host(String host)
The hostname. This component is not percent-encoded. The hostname can contain #{host}.
host - The hostname. This component is not percent-encoded. The hostname can contain #{host}.RedirectActionConfig.Builder path(String path)
The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
path - The absolute path, starting with the leading "/". This component is not percent-encoded. The path can
contain #{host}, #{path}, and #{port}.RedirectActionConfig.Builder query(String 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.
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.RedirectActionConfig.Builder statusCode(String statusCode)
The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
statusCode - The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).RedirectActionStatusCodeEnum,
RedirectActionStatusCodeEnumRedirectActionConfig.Builder statusCode(RedirectActionStatusCodeEnum statusCode)
The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
statusCode - The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).RedirectActionStatusCodeEnum,
RedirectActionStatusCodeEnumCopyright © 2020. All rights reserved.