@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MySqlDataProviderSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines a MySQL data provider.
Constructor and Description |
---|
MySqlDataProviderSettings() |
Modifier and Type | Method and Description |
---|---|
MySqlDataProviderSettings |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
Integer |
getPort()
The port value for the MySQL data provider.
|
String |
getServerName()
The name of the MySQL server.
|
String |
getSslMode()
The SSL mode used to connect to the MySQL data provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
void |
setPort(Integer port)
The port value for the MySQL data provider.
|
void |
setServerName(String serverName)
The name of the MySQL server.
|
void |
setSslMode(String sslMode)
The SSL mode used to connect to the MySQL data provider.
|
String |
toString()
Returns a string representation of this object.
|
MySqlDataProviderSettings |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
|
MySqlDataProviderSettings |
withPort(Integer port)
The port value for the MySQL data provider.
|
MySqlDataProviderSettings |
withServerName(String serverName)
The name of the MySQL server.
|
MySqlDataProviderSettings |
withSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the MySQL data provider.
|
MySqlDataProviderSettings |
withSslMode(String sslMode)
The SSL mode used to connect to the MySQL data provider.
|
public void setServerName(String serverName)
The name of the MySQL server.
serverName
- The name of the MySQL server.public String getServerName()
The name of the MySQL server.
public MySqlDataProviderSettings withServerName(String serverName)
The name of the MySQL server.
serverName
- The name of the MySQL server.public void setPort(Integer port)
The port value for the MySQL data provider.
port
- The port value for the MySQL data provider.public Integer getPort()
The port value for the MySQL data provider.
public MySqlDataProviderSettings withPort(Integer port)
The port value for the MySQL data provider.
port
- The port value for the MySQL data provider.public void setSslMode(String sslMode)
The SSL mode used to connect to the MySQL data provider. The default value is none
.
sslMode
- The SSL mode used to connect to the MySQL data provider. The default value is none
.DmsSslModeValue
public String getSslMode()
The SSL mode used to connect to the MySQL data provider. The default value is none
.
none
.DmsSslModeValue
public MySqlDataProviderSettings withSslMode(String sslMode)
The SSL mode used to connect to the MySQL data provider. The default value is none
.
sslMode
- The SSL mode used to connect to the MySQL data provider. The default value is none
.DmsSslModeValue
public MySqlDataProviderSettings withSslMode(DmsSslModeValue sslMode)
The SSL mode used to connect to the MySQL data provider. The default value is none
.
sslMode
- The SSL mode used to connect to the MySQL data provider. The default value is none
.DmsSslModeValue
public void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
certificateArn
- The Amazon Resource Name (ARN) of the certificate used for SSL connection.public String getCertificateArn()
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
public MySqlDataProviderSettings withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate used for SSL connection.
certificateArn
- The Amazon Resource Name (ARN) of the certificate used for SSL connection.public String toString()
toString
in class Object
Object.toString()
public MySqlDataProviderSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.