Class RunInChildContextConfig.Builder
java.lang.Object
software.amazon.lambda.durable.config.RunInChildContextConfig.Builder
- Enclosing class:
- RunInChildContextConfig
Builder for creating StepConfig instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the RunInChildContextConfig 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 RunInChildContext operation will use the default SerDes configured for the handler. This allows per-operation customization of serialization behavior, useful for operations 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 RunInChildContextConfig instance.- Returns:
- a new StepConfig with the configured options
-