Package com.mongodb
Class MongoDriverInformation.Builder
-
- com.mongodb.MongoDriverInformation.Builder
-
- Enclosing class:
- MongoDriverInformation
@NotThreadSafe public static final class MongoDriverInformation.Builder extends
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MongoDriverInformation
build()
MongoDriverInformation.Builder
driverName)
Sets the nameMongoDriverInformation.Builder
driverPlatform)
Sets the platformMongoDriverInformation.Builder
driverVersion)
Sets the version
-
-
-
Method Detail
-
driverName
public driverName)
Sets the name- Parameters:
driverName
- the name- Returns:
- this
-
driverVersion
public driverVersion)
Sets the versionNote: You must also set a driver name if setting a driver version.
- Parameters:
driverVersion
- the version- Returns:
- this
-
driverPlatform
public driverPlatform)
Sets the platform- Parameters:
driverPlatform
- the platform- Returns:
- this
-
build
public MongoDriverInformation build()
- Returns:
- the driver information
-
-