Package com.mongodb
Class MongoDriverInformation.Builder
java.lang.Object
com.mongodb.MongoDriverInformation.Builder
- Enclosing class:
MongoDriverInformation
@NotThreadSafe
@Deprecated(since="2021-05-27")
public static final class MongoDriverInformation.Builder
extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.driverName
(String driverName) Deprecated.Sets the namedriverPlatform
(String driverPlatform) Deprecated.Sets the platformdriverVersion
(String driverVersion) Deprecated.Sets the version
-
Method Details
-
driverName
Deprecated.Sets the name- Parameters:
driverName
- the name- Returns:
- this
-
driverVersion
Deprecated.Sets the versionNote: You must also set a driver name if setting a driver version.
- Parameters:
driverVersion
- the version- Returns:
- this
-
driverPlatform
Deprecated.Sets the platform- Parameters:
driverPlatform
- the platform- Returns:
- this
-
build
Deprecated.- Returns:
- the driver information
-