of Seconds
The document will expire after the given number of seconds. Shorthand for Expiry.of(Duration.ofSeconds(x))
Throws
if seconds < 1
The document will expire after the given number of seconds. Shorthand for Expiry.of(Duration.ofSeconds(x))
if seconds < 1