def _set_defined_policy(self, v, load=False):
    """
    Setter method for defined_policy, mapped from YANG variable /rbridge_id/secpolicy/defined_policy (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_defined_policy is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_defined_policy() directly.

    YANG Description: Set the defined policy
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=defined_policy.defined_policy, is_container='container', presence=False, yang_name="defined-policy", rest_name="defined-policy", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Defined policy set', u'cli-incomplete-no': None}}, namespace='urn:brocade.com:mgmt:brocade-fc-auth', defining_module='brocade-fc-auth', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """defined_policy must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=defined_policy.defined_policy, is_container='container', presence=False, yang_name="defined-policy", rest_name="defined-policy", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Defined policy set', u'cli-incomplete-no': None}}, namespace='urn:brocade.com:mgmt:brocade-fc-auth', defining_module='brocade-fc-auth', yang_type='container', is_config=True)""",
        })

    self.__defined_policy = t
    if hasattr(self, '_set'):
      self._set()
Setter method for defined_policy, mapped from YANG variable /rbridge_id/secpolicy/defined_policy (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_defined_policy is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_defined_policy() directly.

    YANG Description: Set the defined policy