RequestMetaInfoBuilder
Builder for creating RequestMetaInfo instances from Java code.
Usage from Java:
RequestMetaInfo metaInfo = RequestMetaInfo.builder()
.timestamp(Instant.now())
.metadata(jsonObject)
.build();Content copied to clipboard
Functions
Link copied to clipboard
Builds a new RequestMetaInfo instance. If no timestamp is set, the current system time is used.
Link copied to clipboard
Sets the metadata.
Link copied to clipboard
Sets the timestamp using java.time.Instant.
Sets the timestamp using kotlin.time.Instant.