code: public static policymap[] get(nitro_service service, String mappolicyname[]) throws Exception{
  		if (mappolicyname !=null && mappolicyname.length>0) {
  			policymap response[] = new policymap[mappolicyname.length];
  			policymap obj[] = new policymap[mappolicyname.length];
  			for (int i=0;i<mappolicyname.length;i++) {
  				obj[i] = new policymap();
  				obj[i].set_mappolicyname(mappolicyname[i]);
  				response[i] = (policymap) obj[i].get_resource(service);
  			}
  			return response;
  		}
  		return null;
  	}
docs: Use this API to fetch policymap resources of given names .