Use this API to fetch scpolicy resource of given name .
502911
public static scpolicy get(nitro_service service, String name) throws Exception{
		scpolicy obj = new scpolicy();
		obj.set_name(name);
		scpolicy response = (scpolicy) obj.get_resource(service);
		return response;
	}
1284181
public static spilloverpolicy_binding get(nitro_service service, String name) throws Exception{
		spilloverpolicy_binding obj = new spilloverpolicy_binding();
		obj.set_name(name);
		spilloverpolicy_binding response = (spilloverpolicy_binding) obj.get_resource(service);
		return response;
	}
1273015
public static vpnsessionpolicy[] get(nitro_service service) throws Exception{
		vpnsessionpolicy obj = new vpnsessionpolicy();
		vpnsessionpolicy[] response = (vpnsessionpolicy[])obj.get_resources(service);
		return response;
	}
484943
@Override
    public byte[] getPolicy(String name) throws PolicyStoreException {
        String pid = getPID(name);
        if (!contains(name)) {
            throw new PolicyStoreException("Get: policy " + pid
                                                 + " does not exist.");
        }

        try {
            InputStream is =
                apiAService.getDatastreamDissemination(getContext(),
                                                       pid,
                                                       FESL_POLICY_DATASTREAM,
                                                       null).getStream();
            return IOUtils.toByteArray(is);
        } catch (Exception e) {
            throw new PolicyStoreException("Get: error reading policy "
                                                 + pid + " - " + e.getMessage(), e);
        }

    }
540298
public static pqpolicy[] get(nitro_service service) throws Exception{
		pqpolicy obj = new pqpolicy();
		pqpolicy[] response = (pqpolicy[])obj.get_resources(service);
		return response;
	}
969745
public static policyexpression get(nitro_service service, String name) throws Exception{
		policyexpression obj = new policyexpression();
		obj.set_name(name);
		policyexpression response = (policyexpression) obj.get_resource(service);
		return response;
	}
866348
public static scparameter get(nitro_service service,  options option) throws Exception{
		scparameter obj = new scparameter();
		scparameter[] response = (scparameter[])obj.get_resources(service,option);
		return response[0];
	}
161182
public static base_response add(nitro_service client, scpolicy resource) throws Exception {
		scpolicy addresource = new scpolicy();
		addresource.name = resource.name;
		addresource.url = resource.url;
		addresource.rule = resource.rule;
		addresource.delay = resource.delay;
		addresource.maxconn = resource.maxconn;
		addresource.action = resource.action;
		addresource.altcontentsvcname = resource.altcontentsvcname;
		addresource.altcontentpath = resource.altcontentpath;
		return addresource.add_resource(client);
	}
361480
public static autoscalepolicy[] get(nitro_service service) throws Exception{
		autoscalepolicy obj = new autoscalepolicy();
		autoscalepolicy[] response = (autoscalepolicy[])obj.get_resources(service);
		return response;
	}
110322
public static appfwpolicy_stats get(nitro_service service, String name) throws Exception{
		appfwpolicy_stats obj = new appfwpolicy_stats();
		obj.set_name(name);
		appfwpolicy_stats response = (appfwpolicy_stats) obj.stat_resource(service);
		return response;
	}
816718
public static appfwpolicy_binding get(nitro_service service, String name) throws Exception{
		appfwpolicy_binding obj = new appfwpolicy_binding();
		obj.set_name(name);
		appfwpolicy_binding response = (appfwpolicy_binding) obj.get_resource(service);
		return response;
	}
230828
public static scpolicy_stats[] get(nitro_service service) throws Exception{
		scpolicy_stats obj = new scpolicy_stats();
		scpolicy_stats[] response = (scpolicy_stats[])obj.stat_resources(service);
		return response;
	}
750098
public static dnspolicy64 get(nitro_service service, String name) throws Exception{
		dnspolicy64 obj = new dnspolicy64();
		obj.set_name(name);
		dnspolicy64 response = (dnspolicy64) obj.get_resource(service);
		return response;
	}
953294
public static cachepolicy_binding get(nitro_service service, String policyname) throws Exception{
		cachepolicy_binding obj = new cachepolicy_binding();
		obj.set_policyname(policyname);
		cachepolicy_binding response = (cachepolicy_binding) obj.get_resource(service);
		return response;
	}
34295
public static scpolicy_stats get(nitro_service service, String name) throws Exception{
		scpolicy_stats obj = new scpolicy_stats();
		obj.set_name(name);
		scpolicy_stats response = (scpolicy_stats) obj.stat_resource(service);
		return response;
	}
426881
public static autoscalepolicy_binding get(nitro_service service, String name) throws Exception{
		autoscalepolicy_binding obj = new autoscalepolicy_binding();
		obj.set_name(name);
		autoscalepolicy_binding response = (autoscalepolicy_binding) obj.get_resource(service);
		return response;
	}
1146050
public static responderpolicy[] get(nitro_service service) throws Exception{
		responderpolicy obj = new responderpolicy();
		responderpolicy[] response = (responderpolicy[])obj.get_resources(service);
		return response;
	}