def modify_host_set(name, action = nil, setmembers = nil, new_name = nil, comment = nil)
      begin
        @host_set.modify_host_set(name, action, setmembers, new_name, comment)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
def modify_host_set(name, action = nil, setmembers = nil, new_name = nil, comment = nil)
      begin
        @host_set.modify_host_set(name, action, setmembers, new_name, comment)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
Modifies a HostSet.

 ==== Attributes

 * name - Hostset name
      type name: String
 * action - Add or Remove host(s) from the set
      type action: Refer values of Hpe3parSdk::SetCustomAction::MEM_ADD and Hpe3parSdk::SetCustomAction::MEM_REMOVE
 * setmembers - Host(s) to add to the set, the existence of the host(s) will not be checked
      type setmembers: Array of String
 * new_name - New name of set
      type new_name: String
 * comment - New comment for the set
      type comment: String

 ==== Raises

 * Hpe3parSdk::HTTPBadRequest
        - EXISTENT_SET - The set already exits.
 * Hpe3parSdk::HTTPNotFound
        - NON_EXISTENT_SET - The set does not exists.
 * Hpe3parSdk::HTTPConflict
        - MEMBER_IN_DOMAINSET - The host is in a domain set.
 * Hpe3parSdk::HTTPConflict
        - MEMBER_IN_SET - The object is already part of the set.
 * Hpe3parSdk::HTTPNotFound
        - MEMBER_NOT_IN_SET - The object is not part of the set.
 * Hpe3parSdk::HTTPConflict
        - MEMBER_NOT_IN_SAME_DOMAIN - Objects must be in the same domain to perform this operation.
 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT_DUP_NAME - Invalid input (duplicate name).
 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT_PARAM_CONFLICT - Invalid input (parameters cannot be present at the same time).
 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT_ILLEGAL_CHAR - Invalid contains one or more illegal characters.