code: @NonNull
      public ReplicatorConfiguration setReplicatorType(@NonNull ReplicatorType replicatorType) {
          if (replicatorType == null) { throw new IllegalArgumentException("replicatorType cannot be null."); }
          if (readonly) { throw new IllegalStateException("ReplicatorConfiguration is readonly mode."); }
          this.replicatorType = replicatorType;
          return getReplicatorConfiguration();
      }
docs: Sets the replicator type indicating the direction of the replicator.
  The default value is .pushAndPull which is bidrectional.
  
  @param replicatorType The replicator type.
  @return The self object.