@NotThreadSafe public static final class MongoDriverInformation.Builder extends Object
Modifier and Type | Method and Description |
---|---|
MongoDriverInformation |
build() |
MongoDriverInformation.Builder |
driverName(String driverName)
Sets the name
|
MongoDriverInformation.Builder |
driverPlatform(String driverPlatform)
Sets the platform
|
MongoDriverInformation.Builder |
driverVersion(String driverVersion)
Sets the version
|
public MongoDriverInformation.Builder driverName(String driverName)
driverName
- the namepublic MongoDriverInformation.Builder driverVersion(String driverVersion)
Note: You must also set a driver name if setting a driver version.
driverVersion
- the versionpublic MongoDriverInformation.Builder driverPlatform(String driverPlatform)
driverPlatform
- the platformpublic MongoDriverInformation build()