protected URI getEndpointOfResourceInVDC(
     Object org, Object vDC, Object resource, org.jclouds.trmk.vcloud_0_8.domain.VDC vDCObject) {
   ReferenceType resourceEntity = vDCObject.getAvailableNetworks().get(resource);
   if (resourceEntity == null)
     throw new NoSuchElementException(
         "network "
             + resource
             + " in vdc "
             + vDC
             + ", org "
             + org
             + " not found in "
             + vDCObject.getAvailableNetworks().keySet());
   return resourceEntity.getHref();
 }
 @Override
 protected Supplier<Map<String, Map<String, ? extends org.jclouds.trmk.vcloud_0_8.domain.VDC>>>
     provideOrgVDCSupplierCache(
         @Named(PROPERTY_SESSION_INTERVAL) long seconds,
         AtomicReference<AuthorizationException> authException,
         OrgVDCSupplier supplier) {
   return Suppliers
       .<Map<String, Map<String, ? extends org.jclouds.trmk.vcloud_0_8.domain.VDC>>>ofInstance(
           ImmutableMap
               .<String, Map<String, ? extends org.jclouds.trmk.vcloud_0_8.domain.VDC>>of(
                   ORG_REF.getName(),
                   ImmutableMap.<String, org.jclouds.trmk.vcloud_0_8.domain.VDC>of(
                       VDC.getName(), VDC)));
 }