Create a saveAsNewAPIHadoopDataset method
change the parameter type back to Configuration