Interface MongoConnectionDetails.GridFs
- Enclosing interface:
- MongoConnectionDetails
public static interface MongoConnectionDetails.GridFs
GridFS configuration.
-
Method Summary
Modifier and TypeMethodDescriptionGridFS bucket name.GridFS database name.Factory method to create a newMongoConnectionDetails.GridFs
instance.
-
Method Details
-
getDatabase
String getDatabase()GridFS database name.- Returns:
- the GridFS database name or
null
-
getBucket
String getBucket()GridFS bucket name.- Returns:
- the GridFS bucket name or
null
-
of
Factory method to create a newMongoConnectionDetails.GridFs
instance.- Parameters:
database
- the databasebucket
- the bucket name- Returns:
- a new
MongoConnectionDetails.GridFs
instance
-