Package com.oracle.bmc.mysql.model
Class ChannelSourceMysql
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.mysql.model.ChannelSource
- 
- com.oracle.bmc.mysql.model.ChannelSourceMysql
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class ChannelSourceMysql extends ChannelSourceCore properties of a Mysql Channel source.
 Note: Objects should always be created or deserialized using theChannelSourceMysql.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theChannelSourceMysql.Builder, which maintain a set of all explicitly set fields calledChannelSourceMysql.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classChannelSourceMysql.Builderstatic classChannelSourceMysql.SslModeThe SSL mode of the Channel.- 
Nested classes/interfaces inherited from class com.oracle.bmc.mysql.model.ChannelSourceChannelSource.SourceType
 
- 
 - 
Constructor SummaryConstructors Constructor Description ChannelSourceMysql(String hostname, Integer port, String username, ChannelSourceMysql.SslMode sslMode, CaCertificate sslCaCertificate, AnonymousTransactionsHandling anonymousTransactionsHandling)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelSourceMysql.Builderbuilder()Create a new builder.booleanequals(Object o)AnonymousTransactionsHandlinggetAnonymousTransactionsHandling()StringgetHostname()The network address of the MySQL instance.IntegergetPort()The port the source MySQL instance listens on.CaCertificategetSslCaCertificate()ChannelSourceMysql.SslModegetSslMode()The SSL mode of the Channel.StringgetUsername()The name of the replication user on the source MySQL instance.inthashCode()ChannelSourceMysql.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ChannelSourceMysql@Deprecated public ChannelSourceMysql(String hostname, Integer port, String username, ChannelSourceMysql.SslMode sslMode, CaCertificate sslCaCertificate, AnonymousTransactionsHandling anonymousTransactionsHandling) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ChannelSourceMysql.Builder builder() Create a new builder.
 - 
toBuilderpublic ChannelSourceMysql.Builder toBuilder() 
 - 
getHostnamepublic String getHostname() The network address of the MySQL instance.- Returns:
- the value
 
 - 
getPortpublic Integer getPort() The port the source MySQL instance listens on.- Returns:
- the value
 
 - 
getUsernamepublic String getUsername() 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 - Returns:
- the value
 
 - 
getSslModepublic ChannelSourceMysql.SslMode getSslMode() The SSL mode of the Channel.- Returns:
- the value
 
 - 
getSslCaCertificatepublic CaCertificate getSslCaCertificate() 
 - 
getAnonymousTransactionsHandlingpublic AnonymousTransactionsHandling getAnonymousTransactionsHandling() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- ChannelSource
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- ChannelSource
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- ChannelSource
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- ChannelSource
 
 
- 
 
-