public static class ChannelSourceMysql.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChannelSourceMysql.Builder |
anonymousTransactionsHandling(AnonymousTransactionsHandling anonymousTransactionsHandling) |
ChannelSourceMysql |
build() |
ChannelSourceMysql.Builder |
copy(ChannelSourceMysql model) |
ChannelSourceMysql.Builder |
hostname(String hostname)
The network address of the MySQL instance.
|
ChannelSourceMysql.Builder |
port(Integer port)
The port the source MySQL instance listens on.
|
ChannelSourceMysql.Builder |
sslCaCertificate(CaCertificate sslCaCertificate) |
ChannelSourceMysql.Builder |
sslMode(ChannelSourceMysql.SslMode sslMode)
The SSL mode of the Channel.
|
ChannelSourceMysql.Builder |
username(String username)
The name of the replication user on the source MySQL instance.
|
public ChannelSourceMysql.Builder hostname(String hostname)
The network address of the MySQL instance.
hostname
- the value to setpublic ChannelSourceMysql.Builder port(Integer port)
The port the source MySQL instance listens on.
port
- the value to setpublic ChannelSourceMysql.Builder username(String username)
The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
username
- the value to setpublic ChannelSourceMysql.Builder sslMode(ChannelSourceMysql.SslMode sslMode)
The SSL mode of the Channel.
sslMode
- the value to setpublic ChannelSourceMysql.Builder sslCaCertificate(CaCertificate sslCaCertificate)
public ChannelSourceMysql.Builder anonymousTransactionsHandling(AnonymousTransactionsHandling anonymousTransactionsHandling)
public ChannelSourceMysql build()
public ChannelSourceMysql.Builder copy(ChannelSourceMysql model)
Copyright © 2016–2024. All rights reserved.