Package com.mongodb
Class MongoDriverInformation.Builder
- java.lang.Object
- 
- com.mongodb.MongoDriverInformation.Builder
 
- 
- Enclosing class:
- MongoDriverInformation
 
 @NotThreadSafe public static final class MongoDriverInformation.Builder extends Object 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MongoDriverInformationbuild()MongoDriverInformation.BuilderdriverName(String driverName)Sets the nameMongoDriverInformation.BuilderdriverPlatform(String driverPlatform)Sets the platformMongoDriverInformation.BuilderdriverVersion(String driverVersion)Sets the version
 
- 
- 
- 
Method Detail- 
driverNamepublic MongoDriverInformation.Builder driverName(String driverName) Sets the name- Parameters:
- driverName- the name
- Returns:
- this
 
 - 
driverVersionpublic MongoDriverInformation.Builder driverVersion(String driverVersion) Sets the versionNote: You must also set a driver name if setting a driver version. - Parameters:
- driverVersion- the version
- Returns:
- this
 
 - 
driverPlatformpublic MongoDriverInformation.Builder driverPlatform(String driverPlatform) Sets the platform- Parameters:
- driverPlatform- the platform
- Returns:
- this
 
 - 
buildpublic MongoDriverInformation build() - Returns:
- the driver information
 
 
- 
 
-