public static final class EncoderContext.Builder extends Object
EncoderContext
instances.Modifier and Type | Method and Description |
---|---|
EncoderContext |
build()
Build an instance of
EncoderContext . |
EncoderContext.Builder |
isEncodingCollectibleDocument(boolean encodingCollectibleDocument)
Set to true if the the value to be encoded is a document that will be put in a MongoDB collection.
|
public EncoderContext.Builder isEncodingCollectibleDocument(boolean encodingCollectibleDocument)
encodingCollectibleDocument
- true if the value to be encoded is a document that will be put in a MongoDB collectionpublic EncoderContext build()
EncoderContext
.