public TableSessionBuilder username(String username) {
    this.username = username;
    return this;
  }
Sets the username for the connection.

@param username the username.
@return the current {@link TableSessionBuilder} instance.
@defaultValue "root"
iotdb-client/session/src/main/java/org/apache/iotdb/session/TableSessionBuilder.java