code: @Override
    public BeadledomResteasyClientBuilder setTtl(int ttl, TimeUnit timeUnit) {
      long millis = timeUnit.toMillis(ttl);
      if (millis > Integer.MAX_VALUE || millis < 0) {
        throw new IllegalArgumentException(
            "TTL must be smaller than Integer.MAX_VALUE when converted to milliseconds");
      }
  
      this.clientConfigBuilder.ttlMillis((int) millis);
      return this;
    }
docs: Sets the default TTL to be used if a {@link ClientHttpEngine} isn't
  specified via {@link #setHttpEngine(ClientHttpEngine)}.
  
  <p>If a {@link ClientHttpEngine} is specified via {@link #setHttpEngine(ClientHttpEngine)},
  then this property will be ignored.
  
  @return this builder