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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelSourceMysql.BuilderanonymousTransactionsHandling(AnonymousTransactionsHandling anonymousTransactionsHandling)ChannelSourceMysqlbuild()ChannelSourceMysql.Buildercopy(ChannelSourceMysql model)ChannelSourceMysql.Builderhostname(String hostname)The network address of the MySQL instance.ChannelSourceMysql.Builderport(Integer port)The port the source MySQL instance listens on.ChannelSourceMysql.BuildersslCaCertificate(CaCertificate sslCaCertificate)ChannelSourceMysql.BuildersslMode(ChannelSourceMysql.SslMode sslMode)The SSL mode of the Channel.ChannelSourceMysql.Builderusername(String username)The name of the replication user on the source MySQL instance.
 
- 
- 
- 
Method Detail- 
hostnamepublic ChannelSourceMysql.Builder hostname(String hostname) The network address of the MySQL instance.- Parameters:
- hostname- the value to set
- Returns:
- this builder
 
 - 
portpublic ChannelSourceMysql.Builder port(Integer port) The port the source MySQL instance listens on.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
usernamepublic 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
 
 - 
sslModepublic ChannelSourceMysql.Builder sslMode(ChannelSourceMysql.SslMode sslMode) The SSL mode of the Channel.- Parameters:
- sslMode- the value to set
- Returns:
- this builder
 
 - 
sslCaCertificatepublic ChannelSourceMysql.Builder sslCaCertificate(CaCertificate sslCaCertificate) 
 - 
anonymousTransactionsHandlingpublic ChannelSourceMysql.Builder anonymousTransactionsHandling(AnonymousTransactionsHandling anonymousTransactionsHandling) 
 - 
buildpublic ChannelSourceMysql build() 
 - 
copypublic ChannelSourceMysql.Builder copy(ChannelSourceMysql model) 
 
- 
 
-