Class FileSystemSerDes.Builder
java.lang.Object
software.amazon.lambda.durable.serde.FileSystemSerDes.Builder
- Enclosing class:
- FileSystemSerDes
Builder for filesystem storage and delegate serialization.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an immutable serializer.Sets the serializer that encodes payloads; its serialized strings are stored unchanged.pathEncoding(FileSystemPathEncoding pathEncoding) Sets how execution and entity identities are encoded in paths.Sets an optional preview stored alongside file pointers.storageMode(FileSystemStorageMode storageMode) Sets when payloads are stored in files.
-
Method Details
-
storageMode
Sets when payloads are stored in files. -
pathEncoding
Sets how execution and entity identities are encoded in paths. -
delegate
Sets the serializer that encodes payloads; its serialized strings are stored unchanged. -
previewGenerator
public FileSystemSerDes.Builder previewGenerator(Function<Object, Map<String, Object>> previewGenerator) Sets an optional preview stored alongside file pointers. Return null to omit a preview. -
build
Builds an immutable serializer.
-