Class MapConfig.Builder
java.lang.Object
software.amazon.lambda.durable.config.MapConfig.Builder
- Enclosing class:
- MapConfig
Builder for creating MapConfig instances.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()completionConfig(CompletionConfig completionConfig) Sets the completion criteria for the map operation.maxConcurrency(Integer maxConcurrency) nestingType(NestingType nestingType) Sets the nesting type for the map operation.Sets the custom serializer to use for serializing map items and results.
-
Field Details
-
nestingType
-
-
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
-
nestingType
Sets the nesting type for the map operation.- Parameters:
nestingType- the nesting type (default:NestingType.NESTED)- Returns:
- this builder for method chaining
-
build
-