Package net.voidnote
Class CreateOptions
java.lang.Object
net.voidnote.CreateOptions
Options for
VoidNote.create(java.lang.String, net.voidnote.CreateOptions).
CreateOptions opts = CreateOptions.of("vn_...")
.withMaxViews(1)
.withTitle("Deploy token");
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateOptionsCreates options with only the required API key.withMaxViews(int maxViews) withTtlMinutes(int ttlMinutes)
-
Field Details
-
apiKey
Required: your API key (vn_...). -
title
Optional note title (stored encrypted). -
maxViews
Destroy after this many reads.null= server default. -
ttlMinutes
Expire after this many minutes.null= server default.
-
-
Method Details
-
of
Creates options with only the required API key. -
withTitle
-
withMaxViews
-
withTtlMinutes
-