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