code: public static cachepolicy get(nitro_service service, String policyname) throws Exception{
  		cachepolicy obj = new cachepolicy();
  		obj.set_policyname(policyname);
  		cachepolicy response = (cachepolicy) obj.get_resource(service);
  		return response;
  	}
docs: Use this API to fetch cachepolicy resource of given name .