public static KubernetesEndpointGroupBuilder builder(KubernetesClient kubernetesClient, boolean autoClose) {
        return new KubernetesEndpointGroupBuilder(kubernetesClient, autoClose);
    }
Returns a newly created {@link KubernetesEndpointGroupBuilder} with the specified
{@link KubernetesClient}.

@param autoClose whether to close the {@link KubernetesClient} when the {@link KubernetesEndpointGroup}
                 is closed.
kubernetes/src/main/java/com/linecorp/armeria/client/kubernetes/endpoints/KubernetesEndpointGroup.java