Class ParallelBranchConfig.Builder
java.lang.Object
software.amazon.lambda.durable.config.ParallelBranchConfig.Builder
- Enclosing class:
- ParallelBranchConfig
Builder for creating StepConfig instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the ParallelBranchConfig instance.Sets a custom serializer for the step.
-
Constructor Details
-
Builder
-
-
Method Details
-
serDes
Sets a custom serializer for the step.If not specified, the parallel branch will use the default SerDes configured for the handler. This allows per-branch customization of serialization behavior, useful for branches that need special handling (e.g., custom date formats, encryption, compression).
- Parameters:
serDes- the custom serializer to use, or null to use the default- Returns:
- this builder for method chaining
-
build
Builds the ParallelBranchConfig instance.- Returns:
- a new StepConfig with the configured options
-