Using current approach for configuring Docker you can end up to an expression like:
DockerClient dockerClient = DockerClientBuilder.getInstance(configBuilder.build()).build();
To avoid this "double call to build method together", you can add a new getInstance method which takes DockerClientConfigBuilder as parameter.