public static class List.Item.Metadata
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static List.Item.Metadata |
withTtl(int duration)
Construct metadata with specified time to live in seconds.
|
public static List.Item.Metadata withTtl(int duration)
duration
- Time to live in seconds from now.