@Override
    public FeedClientBuilder setConnectionTimeToLive(Duration ttl) {
        if (ttl.isNegative()) throw new IllegalArgumentException("Connection TTL cannot be negative, but was " + ttl);
        this.connectionTtl = ttl;
        return this;
    }
Builder for creating a {@link FeedClient} instance.

@author bjorncs
@author jonmv
vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/FeedClientBuilderImpl.java