@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class CreateChannelSourceFromMysqlDetails extends CreateChannelSourceDetails
Parameters 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.
CreateChannelSourceFromMysqlDetails.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 the CreateChannelSourceFromMysqlDetails.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
CreateChannelSourceFromMysqlDetails.Builder |
| Constructor and Description |
|---|
CreateChannelSourceFromMysqlDetails(String hostname,
Integer port,
String username,
String password,
ChannelSourceMysql.SslMode sslMode,
CaCertificate sslCaCertificate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateChannelSourceFromMysqlDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getHostname()
The network address of the MySQL instance.
|
String |
getPassword()
The password for the replication user.
|
Integer |
getPort()
The port the source MySQL instance listens on.
|
CaCertificate |
getSslCaCertificate() |
ChannelSourceMysql.SslMode |
getSslMode()
The SSL mode of the Channel.
|
String |
getUsername()
The name of the replication user on the source MySQL instance.
|
int |
hashCode() |
CreateChannelSourceFromMysqlDetails.Builder |
toBuilder() |
String |
toString() |
@Deprecated public CreateChannelSourceFromMysqlDetails(String hostname, Integer port, String username, String password, ChannelSourceMysql.SslMode sslMode, CaCertificate sslCaCertificate)
public static CreateChannelSourceFromMysqlDetails.Builder builder()
Create a new builder.
public CreateChannelSourceFromMysqlDetails.Builder toBuilder()
public String getHostname()
The network address of the MySQL instance.
public Integer getPort()
The port the source MySQL instance listens on.
public 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
public 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.
public ChannelSourceMysql.SslMode getSslMode()
The SSL mode of the Channel.
public CaCertificate getSslCaCertificate()
public String toString()
toString in class CreateChannelSourceDetailspublic boolean equals(Object o)
equals in class CreateChannelSourceDetailsprotected boolean canEqual(Object other)
canEqual in class CreateChannelSourceDetailspublic int hashCode()
hashCode in class CreateChannelSourceDetailsCopyright © 2016–2021. All rights reserved.