Class MapConfig.Builder
java.lang.Object
software.amazon.lambda.durable.config.MapConfig.Builder
- Enclosing class:
- MapConfig
Builder for creating MapConfig instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()completionConfig(CompletionConfig completionConfig) Sets the completion criteria for the map operation.maxConcurrency(Integer maxConcurrency) Sets the custom serializer to use for serializing map items and results.
-
Method Details
-
maxConcurrency
-
completionConfig
Sets the completion criteria for the map operation.- Parameters:
completionConfig- the completion configuration (default:CompletionConfig.allCompleted())- Returns:
- this builder for method chaining
-
serDes
Sets the custom serializer to use for serializing map items and results.- Parameters:
serDes- the serializer to use- Returns:
- this builder for method chaining
-
build
-