Package software.amazon.lambda.durable
Class CallbackConfig.Builder
java.lang.Object
software.amazon.lambda.durable.CallbackConfig.Builder
- Enclosing class:
- CallbackConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuild()heartbeatTimeout(Duration heartbeatTimeout) Sets a custom serializer for the callback.
-
Method Details
-
timeout
-
heartbeatTimeout
-
serDes
Sets a custom serializer for the callback.If not specified, the callback will use the default SerDes configured for the handler. This allows per-callback customization of serialization behavior, useful for callbacks that need special handling (e.g., custom date formats, encryption, compression).
- Parameters:
serDes- the custom serializer to use, or null to use the default- Returns:
- this builder for method chaining
-
build
-