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 java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MongoDriverInformationbuild()Deprecated.MongoDriverInformation.BuilderdriverName(java.lang.String driverName)Deprecated.Sets the nameMongoDriverInformation.BuilderdriverPlatform(java.lang.String driverPlatform)Deprecated.Sets the platformMongoDriverInformation.BuilderdriverVersion(java.lang.String driverVersion)Deprecated.Sets the version 
 - 
 
- 
- 
Method Detail
- 
driverName
public MongoDriverInformation.Builder driverName(java.lang.String driverName)
Deprecated.Sets the name- Parameters:
 driverName- the name- Returns:
 - this
 
 
- 
driverVersion
public MongoDriverInformation.Builder driverVersion(java.lang.String driverVersion)
Deprecated.Sets the versionNote: You must also set a driver name if setting a driver version.
- Parameters:
 driverVersion- the version- Returns:
 - this
 
 
- 
driverPlatform
public MongoDriverInformation.Builder driverPlatform(java.lang.String driverPlatform)
Deprecated.Sets the platform- Parameters:
 driverPlatform- the platform- Returns:
 - this
 
 
- 
build
public MongoDriverInformation build()
Deprecated.- Returns:
 - the driver information
 
 
 - 
 
 -