Interface UrlRewriteConfig.Builder

  • Method Details

    • rewrites

      The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.

      Parameters:
      rewrites - The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rewrites

      UrlRewriteConfig.Builder rewrites(RewriteConfig... rewrites)

      The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.

      Parameters:
      rewrites - The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rewrites

      The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.

      This is a convenience method that creates an instance of the RewriteConfig.Builder avoiding the need to create one manually via RewriteConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rewrites(List<RewriteConfig>).

      Parameters:
      rewrites - a consumer that will call methods on RewriteConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: