public E username ( String username ) { Misc . checkNotNull ( username , "username" ) ; this . username = username ; //noinspection unchecked return ( E ) this ; }
Sets the username to use when authenticating with the server .