Package com.mongodb
Class MongoDriverInformation.Builder
java.lang.Object
com.mongodb.MongoDriverInformation.Builder
- Enclosing class:
- MongoDriverInformation
-
Method Summary
Modifier and TypeMethodDescriptionbuild()driverName(String driverName) Sets the namedriverPlatform(String driverPlatform) Sets the platformdriverVersion(String driverVersion) Sets the version
-
Method Details
-
driverName
Sets the name- Parameters:
driverName- the name- Returns:
- this
-
driverVersion
Sets the versionNote: You must also set a driver name if setting a driver version.
- Parameters:
driverVersion- the version- Returns:
- this
-
driverPlatform
Sets the platform- Parameters:
driverPlatform- the platform- Returns:
- this
-
build
- Returns:
- the driver information
-