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 Details

    • driverName

      public MongoDriverInformation.Builder driverName(String driverName)
      Deprecated.
      Sets the name
      Parameters:
      driverName - the name
      Returns:
      this
    • driverVersion

      public MongoDriverInformation.Builder driverVersion(String driverVersion)
      Deprecated.
      Sets the version

      Note: You must also set a driver name if setting a driver version.

      Parameters:
      driverVersion - the version
      Returns:
      this
    • driverPlatform

      public MongoDriverInformation.Builder driverPlatform(String driverPlatform)
      Deprecated.
      Sets the platform
      Parameters:
      driverPlatform - the platform
      Returns:
      this
    • build

      public MongoDriverInformation build()
      Deprecated.
      Returns:
      the driver information