Class StepConfig

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

public class StepConfig extends Object
Configuration options for step operations in durable executions.

This class provides a builder pattern for configuring various aspects of step execution, including retry behavior and delivery semantics.

  • Method Details

    • retryStrategy

      public RetryStrategy retryStrategy()
      Returns the retry strategy for this step, or the default strategy if not specified.
    • semantics

      public StepSemantics semantics()
      Returns the delivery semantics for this step, defaults to AT_LEAST_ONCE_PER_RETRY if not specified.
    • serDes

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

      public StepConfig.Builder toBuilder()
    • builder

      public static StepConfig.Builder builder()
      Creates a new builder for StepConfig.
      Returns:
      a new Builder instance