[FLINK-17875] [core] Introduce StateSpec for remote function specs

The StateSpec class represents the state name and ttl duration as
specified in YAML remote modules.
2 files changed