Class MapConfig
java.lang.Object
software.amazon.lambda.durable.config.MapConfig
Configuration for map operations.
Defaults to lenient completion (all items run regardless of failures) and unlimited concurrency.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for creating MapConfig instances. -
Method Summary
Modifier and TypeMethodDescriptionstatic MapConfig.Builderbuilder()Returns the function used to name map iterations.serDes()
-
Method Details
-
maxConcurrency
- Returns:
- max concurrent items, or null for unlimited
-
completionConfig
- Returns:
- completion criteria, defaults to
CompletionConfig.allCompleted()
-
serDes
- Returns:
- the custom serializer, or null to use the default
-
nestingType
- Returns:
- nesting type, defaults to
NestingType.NESTED
-
itemNamer
Returns the function used to name map iterations.The function receives the item and its zero-based index. A non-null result must satisfy the normal operation name constraints. A null result is preserved as an unnamed iteration.
- Returns:
- the item namer, or null when default iteration naming is used
-
builder
-
toBuilder
-