Package com.mongodb

Class 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 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 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​(java.lang.String driverPlatform)
        Deprecated.
        Sets the platform
        Parameters:
        driverPlatform - the platform
        Returns:
        this