code: public CacheConfigurationBuilder<K, V> withValueSerializer(Class<? extends Serializer<V>> valueSerializerClass) {
      return withSerializer(new DefaultSerializerConfiguration<>(requireNonNull(valueSerializerClass, "Null value serializer class"), DefaultSerializerConfiguration.Type.VALUE));
    }
docs: Adds a {@link Serializer} class for cache values to the configured builder.
  <p>
  {@link Serializer}s are what enables cache storage beyond the heap tier.
  
  @param valueSerializerClass the key serializer to use
  @return a new builder with the added value serializer