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:
3.1.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • Method Details

    • getConnectionString

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

      default MongoConnectionDetails.GridFs getGridFs()
      GridFS configuration.
      Returns:
      the GridFS configuration or null