Package com.oracle.bmc.mysql.model
Class UpdateChannelSourceFromMysqlDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.UpdateChannelSourceFromMysqlDetails.Builder
-
- Enclosing class:
- UpdateChannelSourceFromMysqlDetails
public static class UpdateChannelSourceFromMysqlDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
hostname
public UpdateChannelSourceFromMysqlDetails.Builder hostname(String hostname)
The network address of the MySQL instance.- Parameters:
hostname
- the value to set- Returns:
- this builder
-
port
public UpdateChannelSourceFromMysqlDetails.Builder port(Integer port)
The port the source MySQL instance listens on.- Parameters:
port
- the value to set- Returns:
- this builder
-
username
public 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
- Parameters:
username
- the value to set- Returns:
- this builder
-
password
public 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.
- Parameters:
password
- the value to set- Returns:
- this builder
-
sslMode
public UpdateChannelSourceFromMysqlDetails.Builder sslMode(ChannelSourceMysql.SslMode sslMode)
The SSL mode of the Channel.- Parameters:
sslMode
- the value to set- Returns:
- this builder
-
sslCaCertificate
public UpdateChannelSourceFromMysqlDetails.Builder sslCaCertificate(CaCertificate sslCaCertificate)
-
anonymousTransactionsHandling
public UpdateChannelSourceFromMysqlDetails.Builder anonymousTransactionsHandling(AnonymousTransactionsHandling anonymousTransactionsHandling)
-
build
public UpdateChannelSourceFromMysqlDetails build()
-
copy
public UpdateChannelSourceFromMysqlDetails.Builder copy(UpdateChannelSourceFromMysqlDetails model)
-
-