public StorageConfiguration withMongoDbAtlasConfiguration(MongoDbAtlasConfiguration mongoDbAtlasConfiguration) {
        setMongoDbAtlasConfiguration(mongoDbAtlasConfiguration);
        return this;
    }
<p>
Contains the storage configuration of the knowledge base in MongoDB Atlas.
</p>

@param mongoDbAtlasConfiguration
       Contains the storage configuration of the knowledge base in MongoDB Atlas.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/StorageConfiguration.java