Introduce a Fluent API containing some methods that would then generate the schema and wire it up to the MongoClient before starting to use for Queryable Encryption.
Reference: https://www.mongodb.com/docs/manual/core/queryable-encryption/qe-create-encrypted-collection/