'Build the target url.
:param array: the array serial number
:param category: the resource category e.g. sloprovisioning
:param resource_type: the resource type e.g. maskingview
:param resource_name: the name of a specific resource
:param private: empty string or \'/private\' if private url
:returns: target url, string'

@staticmethod
def _build_uri(array, category, resource_type, resource_name=None, private='', version=U4V_VERSION):

    target_uri = ('%(private)s/%(version)s/%(category)s/symmetrix/%(array)s/%(resource_type)s' % {'private': private, 'version': version, 'category': category, 'array': array, 'resource_type': resource_type})
    if resource_name:
        target_uri += ('/%(resource_name)s' % {'resource_name': resource_name})
    return target_uri
