public final class InsertOneOptions
extends java.lang.Object
Constructor and Description |
---|
InsertOneOptions() |
Modifier and Type | Method and Description |
---|---|
InsertOneOptions |
bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
java.lang.Boolean |
getBypassDocumentValidation()
Gets the the bypass document level validation flag
|
java.lang.String |
toString() |
@Nullable public java.lang.Boolean getBypassDocumentValidation()
public InsertOneOptions bypassDocumentValidation(@Nullable java.lang.Boolean bypassDocumentValidation)
bypassDocumentValidation
- If true, allows the write to opt-out of document level validation.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved