Sets the given value under the given key, serializing the value using the StateKey.serde.
identifying the value to store and its type.
to store under the given key.