public static class UpdateChannelSourceFromMysqlDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateChannelSourceFromMysqlDetails.Builder hostname(String hostname)
The network address of the MySQL instance.
hostname
- the value to setpublic UpdateChannelSourceFromMysqlDetails.Builder port(Integer port)
The port the source MySQL instance listens on.
port
- the value to setpublic UpdateChannelSourceFromMysqlDetails.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 UpdateChannelSourceFromMysqlDetails.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 UpdateChannelSourceFromMysqlDetails.Builder sslMode(ChannelSourceMysql.SslMode sslMode)
The SSL mode of the Channel.
sslMode
- the value to setpublic UpdateChannelSourceFromMysqlDetails.Builder sslCaCertificate(CaCertificate sslCaCertificate)
public UpdateChannelSourceFromMysqlDetails.Builder anonymousTransactionsHandling(AnonymousTransactionsHandling anonymousTransactionsHandling)
public UpdateChannelSourceFromMysqlDetails build()
public UpdateChannelSourceFromMysqlDetails.Builder copy(UpdateChannelSourceFromMysqlDetails model)
Copyright © 2016–2024. All rights reserved.