code: public final Latency withMedian(double value) {
      double newValue = value;
      return new Latency(
          newValue,
          this.percentile98th,
          this.percentile99th,
          this.percentile999th,
          this.mean,
          this.min,
          this.max);
    }
docs: Copy the current immutable object by setting a value for the {@link AbstractLatency#getMedian() median} attribute.
  @param value A new value for median
  @return A modified copy of the {@code this} object