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