public static <K, V, S extends StateStore> Materialized<K, V, S> as(final String storeName) {
        Named.validate(storeName);
        return new Materialized<>(storeName);
    }
Materialize a {@link StateStore} with the given name.

@param storeName  the name of the underlying {@link KTable} state store; valid characters are ASCII
alphanumerics, '.', '_' and '-'.
@param <K>       key type of the store
@param <V>       value type of the store
@param <S>       type of the {@link StateStore}
@return a new {@link Materialized} instance with the given storeName
streams/src/main/java/org/apache/kafka/streams/kstream/Materialized.java