Package net.voidnote

Class CreateOptions

java.lang.Object
net.voidnote.CreateOptions

public final class CreateOptions extends Object
Options for VoidNote.create(java.lang.String, net.voidnote.CreateOptions).

 CreateOptions opts = CreateOptions.of("vn_...")
     .withMaxViews(1)
     .withTitle("Deploy token");
 
  • Field Details

    • apiKey

      public final String apiKey
      Required: your API key (vn_...).
    • title

      public final String title
      Optional note title (stored encrypted).
    • maxViews

      public final Integer maxViews
      Destroy after this many reads. null = server default.
    • ttlMinutes

      public final Integer ttlMinutes
      Expire after this many minutes. null = server default.
  • Method Details