public CreateEndpointRequest withMongoDbSettings(MongoDbSettings mongoDbSettings) {
        setMongoDbSettings(mongoDbSettings);
        return this;
    }
<p>
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see
<a href=
"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html#CHAP_Source.MongoDB.Configuration"
>Endpoint configuration settings when using MongoDB as a source for Database Migration Service</a> in the
<i>Database Migration Service User Guide.</i>
</p>

@param mongoDbSettings
       Settings in JSON format for the source MongoDB endpoint. For more information about the available
       settings, see <a href=
       "https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html#CHAP_Source.MongoDB.Configuration"
       >Endpoint configuration settings when using MongoDB as a source for Database Migration Service</a> in the
       <i>Database Migration Service User Guide.</i>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/CreateEndpointRequest.java