docs: public static ReadFrom valueOf(String name) {
  
          if (LettuceStrings.isEmpty(name)) {
              throw new IllegalArgumentException("Name must not be empty");
          }
  
          if (name.equalsIgnoreCase("master")) {
              return MASTER;
          }
  
          if (name.equalsIgnoreCase("masterPreferred")) {
              return MASTER_PREFERRED;
          }
  
          if (name.equalsIgnoreCase("slave") || name.equalsIgnoreCase("replica")) {
              return REPLICA;
          }
  
          if (name.equalsIgnoreCase("slavePreferred") || name.equalsIgnoreCase("replicaPreferred")) {
              return REPLICA_PREFERRED;
          }
  
          if (name.equalsIgnoreCase("nearest")) {
              return NEAREST;
          }
  
          if (name.equalsIgnoreCase("any")) {
              return ANY;
          }
  
          throw new IllegalArgumentException("ReadFrom " + name + " not supported");
      }