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