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