code: public SerializerConfig setClass(final Class<? extends Serializer> clazz) {
          String className = clazz == null ? null : clazz.getName();
          return setClassName(className);
      }
docs: Sets the class of the serializer implementation.
  
  @param clazz the set class of the serializer implementation
  @return SerializerConfig