driver-async/src/main/com/mongodb/async/client/MongoClients.java
public static MongoClient create(final com.mongodb.MongoClientSettings settings,
                                     @Nullable final MongoDriverInformation mongoDriverInformation) {
        return create(MongoClientSettings.createFromClientSettings(settings), mongoDriverInformation, null);
    }
public static MongoClient create(final com.mongodb.MongoClientSettings settings,
                                     @Nullable final MongoDriverInformation mongoDriverInformation) {
        return create(MongoClientSettings.createFromClientSettings(settings), mongoDriverInformation, null);
    }
public static MongoClient create ( final com . mongodb . MongoClientSettings settings , @ Nullable final MongoDriverInformation mongoDriverInformation ) { return create ( MongoClientSettings . createFromClientSettings ( settings ) , mongoDriverInformation , null ) ; }
Creates a new client with the given client settings.

<p>Note: Intended for driver and library authors to associate extra driver metadata with the connections.</p>

@param settings               the settings
@param mongoDriverInformation any driver information to associate with the MongoClient
@return the client
@since 3.7
Creates a new client with the given client settings .