code: public ReplicationClientFactory usingApiKey(String apiKey) {
          if (Objects.equal(_apiKey, apiKey)) {
              return this;
          }
          return new ReplicationClientFactory(_jerseyClient, apiKey);
      }
docs: Creates a view of this instance using the given API Key and sharing the same underlying resources.
  Note that this method may return a new instance so the caller must use the returned value.