Class CreateChannelSourceFromMysqlDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.mysql.model.CreateChannelSourceDetails
- 
- com.oracle.bmc.mysql.model.CreateChannelSourceFromMysqlDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class CreateChannelSourceFromMysqlDetails extends CreateChannelSourceDetailsParameters detailing how to provision the source endpoint that is a MySQL Server.Typically a MySQL Server that is not managed by the MySQL Database Service. 
 Note: Objects should always be created or deserialized using theCreateChannelSourceFromMysqlDetails.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 theCreateChannelSourceFromMysqlDetails.Builder, which maintain a set of all explicitly set fields calledCreateChannelSourceFromMysqlDetails.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 classCreateChannelSourceFromMysqlDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description CreateChannelSourceFromMysqlDetails(String hostname, Integer port, String username, String password, ChannelSourceMysql.SslMode sslMode, CaCertificate sslCaCertificate, AnonymousTransactionsHandling anonymousTransactionsHandling)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateChannelSourceFromMysqlDetails.Builderbuilder()Create a new builder.booleanequals(Object o)AnonymousTransactionsHandlinggetAnonymousTransactionsHandling()StringgetHostname()The network address of the MySQL instance.StringgetPassword()The password for the replication user.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()CreateChannelSourceFromMysqlDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CreateChannelSourceFromMysqlDetails@Deprecated public CreateChannelSourceFromMysqlDetails(String hostname, Integer port, String username, String password, ChannelSourceMysql.SslMode sslMode, CaCertificate sslCaCertificate, AnonymousTransactionsHandling anonymousTransactionsHandling) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateChannelSourceFromMysqlDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateChannelSourceFromMysqlDetails.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
 
 - 
getPasswordpublic String getPassword() 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. - 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- CreateChannelSourceDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- CreateChannelSourceDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- CreateChannelSourceDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- CreateChannelSourceDetails
 
 
- 
 
-