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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    GridFS configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mongodb.ConnectionString
    The ConnectionString for MongoDB.
    GridFS configuration.
    default org.springframework.boot.ssl.SslBundle
    SSL bundle to use.
  • Method Details

    • getConnectionString

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

      default org.springframework.boot.ssl.SslBundle getSslBundle()
      SSL bundle to use.
      Returns:
      the SSL bundle to use
      Since:
      3.5.0
    • getGridFs

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