Interface RedirectActionConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RedirectActionConfig.Builder,RedirectActionConfig>, SdkBuilder<RedirectActionConfig.Builder,RedirectActionConfig>, SdkPojo
Enclosing class:
RedirectActionConfig

@Mutable @NotThreadSafe public static interface RedirectActionConfig.Builder extends SdkPojo, CopyableBuilder<RedirectActionConfig.Builder,RedirectActionConfig>
  • 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

      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:
    • 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: