@NotThreadSafe public static final class MongoDriverInformation.Builder extends Object
Modifier and Type | Method | 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β()