Package software.amazon.lambda.durable
Class CallbackConfig
java.lang.Object
software.amazon.lambda.durable.CallbackConfig
Configuration for callback operations.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CallbackConfig.Builderbuilder()Returns the maximum duration between heartbeats before the callback is considered failed.serDes()timeout()Returns the maximum duration to wait for the callback to complete.
-
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
-
toBuilder
-