public ClientBuilderForConnector forServer(String uri, @Nullable String version) {
        configBuilder.withDockerHost(URI.create(uri).toString())
                .withApiVersion(version);
        return this;
    }
public ClientBuilderForConnector forServer ( String uri , @ Nullable String version ) { configBuilder . withDockerHost ( URI . create ( uri ) . toString ( ) ) . withApiVersion ( version ) ; return this ; }
Method to setup url and docker-api version. Convenient for test-connection purposes and quick requests

@param uri     docker server uri
@param version docker-api version
@return this newClientBuilderForConnector