Interface MongoConnectionDetails

All Superinterfaces:
ConnectionDetails
All Known Implementing Classes:
PropertiesMongoConnectionDetails

public interface MongoConnectionDetails extends ConnectionDetails
Details required to establish a connection to a MongoDB service.
Since:
4.0.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mongodb.ConnectionString
    The ConnectionString for MongoDB.
    default @Nullable SslBundle
    SSL bundle to use.
  • Method Details

    • getConnectionString

      com.mongodb.ConnectionString getConnectionString()
      The ConnectionString for MongoDB.
      Returns:
      the connection string
    • getSslBundle

      default @Nullable SslBundle getSslBundle()
      SSL bundle to use.
      Returns:
      the SSL bundle to use