public static class CreateChannelSourceFromMysqlDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateChannelSourceFromMysqlDetails.Builder hostname(String hostname)
The network address of the MySQL instance.
hostname
- the value to setpublic CreateChannelSourceFromMysqlDetails.Builder port(Integer port)
The port the source MySQL instance listens on.
port
- the value to setpublic CreateChannelSourceFromMysqlDetails.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 CreateChannelSourceFromMysqlDetails.Builder password(String password)
The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
password
- the value to setpublic CreateChannelSourceFromMysqlDetails.Builder sslMode(ChannelSourceMysql.SslMode sslMode)
The SSL mode of the Channel.
sslMode
- the value to setpublic CreateChannelSourceFromMysqlDetails.Builder sslCaCertificate(CaCertificate sslCaCertificate)
public CreateChannelSourceFromMysqlDetails.Builder anonymousTransactionsHandling(AnonymousTransactionsHandling anonymousTransactionsHandling)
public CreateChannelSourceFromMysqlDetails build()
public CreateChannelSourceFromMysqlDetails.Builder copy(CreateChannelSourceFromMysqlDetails model)
Copyright © 2016–2024. All rights reserved.