!str #15121 MaterializerSettings now uses a config object

Resolves #15121
I’m not sure that this is only Java API, it looks quite reasonable from Scala as well.