code: protected <T> T handleReplace(T updated, Class<T> type) throws ExecutionException, InterruptedException, KubernetesClientException, IOException {
      return handleReplace(updated, type, Collections.<String, String>emptyMap());
    }
docs: Replace a resource.
  
  @param updated updated object
  @param type type of the object provided
  @param <T> template argument provided
  
  @return returns de-serialized version of api server response
  @throws ExecutionException Execution Exception
  @throws InterruptedException Interrupted Exception
  @throws KubernetesClientException KubernetesClientException
  @throws IOException IOException