of Hours
The document will expire after the given number of hours. Shorthand for Expiry.of(Duration.ofHours(x))
Throws
if hours < 1
The document will expire after the given number of hours. Shorthand for Expiry.of(Duration.ofHours(x))
if hours < 1