Class RunInChildContextConfig.Builder

java.lang.Object
software.amazon.lambda.durable.config.RunInChildContextConfig.Builder
Enclosing class:
RunInChildContextConfig

public static class RunInChildContextConfig.Builder extends Object
Builder for creating StepConfig instances.
  • Constructor Details

    • Builder

      public Builder(SerDes serDes)
  • Method Details

    • serDes

      public RunInChildContextConfig.Builder serDes(SerDes 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

      public RunInChildContextConfig build()
      Builds the RunInChildContextConfig instance.
      Returns:
      a new StepConfig with the configured options