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