public MySqlSourceBuilder<T> hostname(String hostname) {
        this.configFactory.hostname(hostname);
        return this;
    }
The builder class for {@link MySqlSource} to make it easier for the users to construct a {@link
MySqlSource}.

<pre>{@code
MySqlSource
    .<String>builder()
    .hostname("localhost")
    .port(3306)
    .databaseList("mydb")
    .tableList("mydb.users")
    .username(username)
    .password(password)
    .serverId(5400)
    .deserializer(new JsonDebeziumDeserializationSchema())
    .build();
}</pre>

<p>Check the Java docs of each individual method to learn more about the settings to build a
{@link MySqlSource}.</p>
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/mysql-cdc/src/main/java/org/apache/inlong/sort/cdc/mysql/source/MySqlSourceBuilder.java