public static server get ( nitro_service service , String name ) throws Exception { server obj = new server ( ) ; obj . set_name ( name ) ; server response = ( server ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch server resource of given name .