public static final class EncoderContext.Builder
extends java.lang.Object
EncoderContext
instances.Modifier and Type | Field and Description |
---|---|
private boolean |
encodingCollectibleDocument |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
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
.