Class StepConfig
java.lang.Object
software.amazon.lambda.durable.config.StepConfig
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for creating StepConfig instances. -
Method Summary
Modifier and TypeMethodDescriptionstatic StepConfig.Builderbuilder()Creates a new builder for StepConfig.Returns the retry strategy for this step, or the default strategy if not specified.Returns the delivery semantics for this step, defaults to AT_LEAST_ONCE_PER_RETRY if not specified.serDes()Returns the custom serializer for this step, or null if not specified (uses default SerDes).
-
Method Details
-
retryStrategy
Returns the retry strategy for this step, or the default strategy if not specified. -
semantics
Returns the delivery semantics for this step, defaults to AT_LEAST_ONCE_PER_RETRY if not specified. -
serDes
Returns the custom serializer for this step, or null if not specified (uses default SerDes). -
toBuilder
-
builder
Creates a new builder for StepConfig.- Returns:
- a new Builder instance
-