public interface DestinationBuilder
  • Method Details

    • replace

      DestinationBuilder replace(String oldSub, String newSub)
      Replaces all occurrences of a substring in the destination URL with a new substring.
      Parameters:
      oldSub - The substring to be replaced.
      newSub - The replacement substring.
      Returns:
      This DestinationBuilder instance.
    • replaceParameter

      DestinationBuilder replaceParameter(String parameter, String newValue)
      Replaces the value of a specific parameter in the destination URL.
      Parameters:
      parameter - The name of the parameter to replace.
      newValue - The new value for the parameter.
      Returns:
      This DestinationBuilder instance.
    • replaceURLString

      DestinationBuilder replaceURLString(String urlString)
      Replaces the entire destination URL string with a new URL string.
      Parameters:
      urlString - The new URL string to replace the existing destination URL.
      Returns:
      This DestinationBuilder instance.