public void setSpec(String spec) {
    this.spec = spec;
  }
Set spec string.
@param spec Request Uri
ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineAppMetricCacheKey.java