def set_username_ibm(self, username_ibm):
if self.get_mode() == "<STR_LIT>":<EOL><INDENT>self.__username_ibm = username_ibm<EOL><DEDENT>else:<EOL><INDENT>raise Exception(<EOL>"<STR_LIT>".format(<EOL>self.get_moder()))<EOL><DEDENT>
Parameters
----------
username_ibm : str

Raises
------
Exception
    If mode is not `ibm`