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