objectKey

@ApiStatus.Experimental
suspend fun objectKey(): String

Get the key of this Virtual Object.

Return

the key of this object

Throws

if called from a regular Service handler or outside of a Restate handler