Interface RedirectActionConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RedirectActionConfig.Builder,RedirectActionConfig>,SdkBuilder<RedirectActionConfig.Builder,RedirectActionConfig>,SdkPojo
- Enclosing class:
- RedirectActionConfig
public static interface RedirectActionConfig.Builder extends SdkPojo, CopyableBuilder<RedirectActionConfig.Builder,RedirectActionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedirectActionConfig.Builderhost(String host)The hostname.RedirectActionConfig.Builderpath(String path)The absolute path, starting with the leading "/".RedirectActionConfig.Builderport(String port)The port.RedirectActionConfig.Builderprotocol(String protocol)The protocol.RedirectActionConfig.Builderquery(String query)The query parameters, URL-encoded when necessary, but not percent-encoded.RedirectActionConfig.BuilderstatusCode(String statusCode)The HTTP redirect code.RedirectActionConfig.BuilderstatusCode(RedirectActionStatusCodeEnum statusCode)The HTTP redirect code.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
protocol
RedirectActionConfig.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.
- 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 cannot redirect HTTPS to HTTP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
RedirectActionConfig.Builder port(String 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
RedirectActionConfig.Builder host(String 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
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}.
- 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
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.
- 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
RedirectActionConfig.Builder statusCode(String 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:
RedirectActionStatusCodeEnum,RedirectActionStatusCodeEnum
-
statusCode
RedirectActionConfig.Builder statusCode(RedirectActionStatusCodeEnum 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:
RedirectActionStatusCodeEnum,RedirectActionStatusCodeEnum
-
-