Class CallbackConfig

java.lang.Object
software.amazon.lambda.durable.config.CallbackConfig

public class CallbackConfig extends Object
Configuration for callback operations.
  • Method Details

    • timeout

      public Duration timeout()
      Returns the maximum duration to wait for the callback to complete.
      Returns:
      the timeout duration, or null if not specified
    • heartbeatTimeout

      public Duration heartbeatTimeout()
      Returns the maximum duration between heartbeats before the callback is considered failed.
      Returns:
      the heartbeat timeout duration, or null if not specified
    • serDes

      public SerDes serDes()
      Returns the custom serializer for this callback, or null if not specified (uses default SerDes).
    • builder

      public static CallbackConfig.Builder builder()
      Creates a new builder with default values.
    • toBuilder

      public CallbackConfig.Builder toBuilder()
      Creates a new builder pre-populated with this config's values.