code: public Config setWanReplicationConfigs(Map<String, WanReplicationConfig> wanReplicationConfigs) {
          this.wanReplicationConfigs.clear();
          this.wanReplicationConfigs.putAll(wanReplicationConfigs);
          for (final Entry<String, WanReplicationConfig> entry : this.wanReplicationConfigs.entrySet()) {
              entry.getValue().setName(entry.getKey());
          }
          return this;
      }
docs: Sets the map of WAN replication configurations, mapped by config name.
  
  @param wanReplicationConfigs the WAN replication configuration map to set
  @return this config instance