Interface RedirectActionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RedirectActionConfig.Builder,,RedirectActionConfig> SdkBuilder<RedirectActionConfig.Builder,,RedirectActionConfig> SdkPojo
- Enclosing class:
- RedirectActionConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe hostname.The absolute path, starting with the leading "/".The port.The protocol.The query parameters, URL-encoded when necessary, but not percent-encoded.statusCode(String statusCode) The HTTP redirect code.statusCode(RedirectActionStatusCodeEnum statusCode) The HTTP redirect code.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
protocol
The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
- Parameters:
protocol- The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port. You can specify a value from 1 to 65535 or #{port}.
- Parameters:
port- The port. You can specify a value from 1 to 65535 or #{port}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
host
The hostname. This component is not percent-encoded. The hostname can contain #{host}.
- Parameters:
host- The hostname. This component is not percent-encoded. The hostname can contain #{host}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
- Parameters:
path- The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- Parameters:
statusCode- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
- Parameters:
statusCode- The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-