code: def set_defaults(self, default_config_params):
          
          map = StringValueMap.from_maps(default_config_params, self)
          return ConfigParams(map)
docs: Set default values from specified ConfigParams and returns a new ConfigParams object.
  
          :param default_config_params: ConfigMap with default parameter values.
  
          :return: a new ConfigParams object.