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