code: private static List<TraversalSpec> buildFullTraversalV2NoFolder() {
          // Recurse through all ResourcePools
          TraversalSpec rpToRp = createTraversalSpec("rpToRp",
              "ResourcePool", "resourcePool",
              new String[]{"rpToRp", "rpToVm"});
  
          // Recurse through all ResourcePools
          TraversalSpec rpToVm = createTraversalSpec("rpToVm",
              "ResourcePool", "vm",
              new SelectionSpec[]{});
  
          // Traversal through ResourcePool branch
          TraversalSpec crToRp = createTraversalSpec("crToRp",
              "ComputeResource", "resourcePool",
              new String[]{"rpToRp", "rpToVm"});
  
          // Traversal through host branch
          TraversalSpec crToH = createTraversalSpec("crToH",
              "ComputeResource", "host",
              new SelectionSpec[]{});
  
          // Traversal through hostFolder branch
          TraversalSpec dcToHf = createTraversalSpec("dcToHf",
              "Datacenter", "hostFolder",
              new String[]{"visitFolders"});
  
          // Traversal through vmFolder branch
          TraversalSpec dcToVmf = createTraversalSpec("dcToVmf",
              "Datacenter", "vmFolder",
              new String[]{"visitFolders"});
  
          TraversalSpec HToVm = createTraversalSpec("HToVm",
              "HostSystem", "vm",
              new String[]{"visitFolders"});
  
          return Arrays.asList(dcToVmf, dcToHf, crToH, crToRp, rpToRp, HToVm, rpToVm);
      }
docs: This method creates basic set of TraveralSpec without visitFolders spec
  
  @return The TraversalSpec[]