public Optional<Instant> asOfTimestamp() {
        return asOfTimestamp;
    }
The timestamp of the query, if specified.
@return The specified {@code asOfTimestamp} of the query.
streams/src/main/java/org/apache/kafka/streams/query/VersionedKeyQuery.java