code: public static KubernetesMessage response(String command, KubernetesResource<?> result) {
          KubernetesResponse response = new KubernetesResponse();
          response.setCommand(command);
          response.setResult(result);
  
          return new KubernetesMessage(response);
      }
docs: Response generating instantiation.
  @param command
  @param result
  @return