Package ai.extend.wrapper.webhooks
Class VerifyAndParseOptions.Builder
- java.lang.Object
-
- ai.extend.wrapper.webhooks.VerifyAndParseOptions.Builder
-
- Enclosing class:
- VerifyAndParseOptions
public static class VerifyAndParseOptions.Builder extends java.lang.ObjectBuilder forVerifyAndParseOptions.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VerifyAndParseOptions.BuilderallowSignedUrl(boolean allowSignedUrl)Sets whether signed URL payloads are allowed.VerifyAndParseOptionsbuild()Builds theVerifyAndParseOptionsinstance.VerifyAndParseOptions.BuildermaxAgeSeconds(int maxAgeSeconds)Sets the maximum age of the request in seconds.
-
-
-
Method Detail
-
maxAgeSeconds
public VerifyAndParseOptions.Builder maxAgeSeconds(int maxAgeSeconds)
Sets the maximum age of the request in seconds. Default: 300 (5 minutes) Set to 0 to disable timestamp validation.
-
allowSignedUrl
public VerifyAndParseOptions.Builder allowSignedUrl(boolean allowSignedUrl)
Sets whether signed URL payloads are allowed. Default: false
-
build
public VerifyAndParseOptions build()
Builds theVerifyAndParseOptionsinstance.
-
-