code: public ValidationData updateKey(DetailParam detailParam) {
          if (detailParam == null) {
              return this;
          }
          this.methodKey = detailParam.getMethodKey();
          this.parameterKey = this.paramType.getUniqueKey(this.methodKey);
          this.urlMapping = detailParam.isUrlMapping();
  
          return this;
      }
docs: Update key validation data.
  
  @param detailParam the detail param
  @return the validation data