Class CallbackConfig
java.lang.Object
software.amazon.lambda.durable.config.CallbackConfig
Configuration for callback operations.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CallbackConfig.Builderbuilder()Creates a new builder with default values.Returns the maximum duration between heartbeats before the callback is considered failed.serDes()Returns the custom serializer for this callback, or null if not specified (uses default SerDes).timeout()Returns the maximum duration to wait for the callback to complete.Creates a new builder pre-populated with this config's values.
-
Method Details
-
timeout
Returns the maximum duration to wait for the callback to complete.- Returns:
- the timeout duration, or null if not specified
-
heartbeatTimeout
Returns the maximum duration between heartbeats before the callback is considered failed.- Returns:
- the heartbeat timeout duration, or null if not specified
-
serDes
Returns the custom serializer for this callback, or null if not specified (uses default SerDes). -
builder
Creates a new builder with default values. -
toBuilder
Creates a new builder pre-populated with this config's values.
-