com.amazonaws.services.s3.model.EncryptionMaterialsProvider to java.util.Optional<com.amazonaws.services.s3.model.EncryptionMaterialsProvider>