docs: @Deprecated
      public void setPrefix(String prefix) {
          if (prefix == null) {
              throw new IllegalArgumentException(
                      "Prefix cannot be null for a replication rule");
          }
          if (filter != null) {
              throw new IllegalArgumentException(
                      "You cannot use both prefix and filter at the same time in a replication rule");
          }
          this.prefix = prefix;
      }