public SELF connectTimeoutMillis(long connectTimeoutMillis) {
        checkArgument(connectTimeoutMillis > 0,
                      "connectTimeoutMillis: %s (expected: > 0)", connectTimeoutMillis);
        ensureInternalClient();
        customizer(builder -> builder.connectionTimeoutMs(Ints.saturatedCast(connectTimeoutMillis)));
        return self();
    }
Sets the specified connect timeout in milliseconds.
{@value DEFAULT_CONNECT_TIMEOUT_MILLIS} ms is used by default.

@param connectTimeoutMillis the connect timeout in milliseconds

@throws IllegalStateException if this builder was created with an existing {@link CuratorFramework}
                              instance.
zookeeper3/src/main/java/com/linecorp/armeria/common/zookeeper/AbstractCuratorFrameworkBuilder.java