@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MySQLSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines a MySQL endpoint.
Constructor and Description |
---|
MySQLSettings() |
Modifier and Type | Method and Description |
---|---|
MySQLSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAfterConnectScript()
Specifies a script to run immediately after DMS connects to the endpoint.
|
Boolean |
getCleanSourceMetadataOnMismatch()
Cleans and recreates table metadata information on the replication instance when a mismatch occurs.
|
String |
getDatabaseName()
Database name for the endpoint.
|
Integer |
getEventsPollInterval()
Specifies how often to check the binary log for new changes/events when the database is idle.
|
Integer |
getExecuteTimeout()
Sets the client statement timeout (in seconds) for a MySQL source endpoint.
|
Integer |
getMaxFileSize()
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
|
Integer |
getParallelLoadThreads()
Improves performance when loading data into the MySQL-compatible target database.
|
String |
getPassword()
Endpoint connection password.
|
Integer |
getPort()
Endpoint TCP port.
|
String |
getSecretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret . |
String |
getSecretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the MySQL
endpoint connection details. |
String |
getServerName()
The host name of the endpoint database.
|
String |
getServerTimezone()
Specifies the time zone for the source MySQL database.
|
String |
getTargetDbType()
Specifies where to migrate source tables on the target, either to a single database or multiple databases.
|
String |
getUsername()
Endpoint connection user name.
|
int |
hashCode() |
Boolean |
isCleanSourceMetadataOnMismatch()
Cleans and recreates table metadata information on the replication instance when a mismatch occurs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAfterConnectScript(String afterConnectScript)
Specifies a script to run immediately after DMS connects to the endpoint.
|
void |
setCleanSourceMetadataOnMismatch(Boolean cleanSourceMetadataOnMismatch)
Cleans and recreates table metadata information on the replication instance when a mismatch occurs.
|
void |
setDatabaseName(String databaseName)
Database name for the endpoint.
|
void |
setEventsPollInterval(Integer eventsPollInterval)
Specifies how often to check the binary log for new changes/events when the database is idle.
|
void |
setExecuteTimeout(Integer executeTimeout)
Sets the client statement timeout (in seconds) for a MySQL source endpoint.
|
void |
setMaxFileSize(Integer maxFileSize)
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
|
void |
setParallelLoadThreads(Integer parallelLoadThreads)
Improves performance when loading data into the MySQL-compatible target database.
|
void |
setPassword(String password)
Endpoint connection password.
|
void |
setPort(Integer port)
Endpoint TCP port.
|
void |
setSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret . |
void |
setSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the MySQL
endpoint connection details. |
void |
setServerName(String serverName)
The host name of the endpoint database.
|
void |
setServerTimezone(String serverTimezone)
Specifies the time zone for the source MySQL database.
|
void |
setTargetDbType(String targetDbType)
Specifies where to migrate source tables on the target, either to a single database or multiple databases.
|
void |
setUsername(String username)
Endpoint connection user name.
|
String |
toString()
Returns a string representation of this object.
|
MySQLSettings |
withAfterConnectScript(String afterConnectScript)
Specifies a script to run immediately after DMS connects to the endpoint.
|
MySQLSettings |
withCleanSourceMetadataOnMismatch(Boolean cleanSourceMetadataOnMismatch)
Cleans and recreates table metadata information on the replication instance when a mismatch occurs.
|
MySQLSettings |
withDatabaseName(String databaseName)
Database name for the endpoint.
|
MySQLSettings |
withEventsPollInterval(Integer eventsPollInterval)
Specifies how often to check the binary log for new changes/events when the database is idle.
|
MySQLSettings |
withExecuteTimeout(Integer executeTimeout)
Sets the client statement timeout (in seconds) for a MySQL source endpoint.
|
MySQLSettings |
withMaxFileSize(Integer maxFileSize)
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
|
MySQLSettings |
withParallelLoadThreads(Integer parallelLoadThreads)
Improves performance when loading data into the MySQL-compatible target database.
|
MySQLSettings |
withPassword(String password)
Endpoint connection password.
|
MySQLSettings |
withPort(Integer port)
Endpoint TCP port.
|
MySQLSettings |
withSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret . |
MySQLSettings |
withSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the MySQL
endpoint connection details. |
MySQLSettings |
withServerName(String serverName)
The host name of the endpoint database.
|
MySQLSettings |
withServerTimezone(String serverTimezone)
Specifies the time zone for the source MySQL database.
|
MySQLSettings |
withTargetDbType(String targetDbType)
Specifies where to migrate source tables on the target, either to a single database or multiple databases.
|
MySQLSettings |
withTargetDbType(TargetDbType targetDbType)
Specifies where to migrate source tables on the target, either to a single database or multiple databases.
|
MySQLSettings |
withUsername(String username)
Endpoint connection user name.
|
public void setAfterConnectScript(String afterConnectScript)
Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
afterConnectScript
- Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues
running regardless if the SQL statement succeeds or fails.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
public String getAfterConnectScript()
Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
public MySQLSettings withAfterConnectScript(String afterConnectScript)
Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
afterConnectScript
- Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues
running regardless if the SQL statement succeeds or fails.
For this parameter, provide the code of the script itself, not the name of a file containing the script.
public void setCleanSourceMetadataOnMismatch(Boolean cleanSourceMetadataOnMismatch)
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For example, in a situation where running an alter DDL on the table could result in different information about the table cached in the replication instance.
cleanSourceMetadataOnMismatch
- Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For
example, in a situation where running an alter DDL on the table could result in different information
about the table cached in the replication instance.public Boolean getCleanSourceMetadataOnMismatch()
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For example, in a situation where running an alter DDL on the table could result in different information about the table cached in the replication instance.
public MySQLSettings withCleanSourceMetadataOnMismatch(Boolean cleanSourceMetadataOnMismatch)
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For example, in a situation where running an alter DDL on the table could result in different information about the table cached in the replication instance.
cleanSourceMetadataOnMismatch
- Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For
example, in a situation where running an alter DDL on the table could result in different information
about the table cached in the replication instance.public Boolean isCleanSourceMetadataOnMismatch()
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For example, in a situation where running an alter DDL on the table could result in different information about the table cached in the replication instance.
public void setDatabaseName(String databaseName)
Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the database
using the DatabaseName
request parameter on either the CreateEndpoint
or
ModifyEndpoint
API call. Specifying DatabaseName
when you create or modify a MySQL
endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database
only when you specify the schema in the table-mapping rules of the DMS task.
databaseName
- Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the
database using the DatabaseName
request parameter on either the CreateEndpoint
or ModifyEndpoint
API call. Specifying DatabaseName
when you create or modify a
MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify
the database only when you specify the schema in the table-mapping rules of the DMS task.public String getDatabaseName()
Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the database
using the DatabaseName
request parameter on either the CreateEndpoint
or
ModifyEndpoint
API call. Specifying DatabaseName
when you create or modify a MySQL
endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database
only when you specify the schema in the table-mapping rules of the DMS task.
DatabaseName
request parameter on either the CreateEndpoint
or ModifyEndpoint
API call. Specifying DatabaseName
when you create or modify a
MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify
the database only when you specify the schema in the table-mapping rules of the DMS task.public MySQLSettings withDatabaseName(String databaseName)
Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the database
using the DatabaseName
request parameter on either the CreateEndpoint
or
ModifyEndpoint
API call. Specifying DatabaseName
when you create or modify a MySQL
endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database
only when you specify the schema in the table-mapping rules of the DMS task.
databaseName
- Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the
database using the DatabaseName
request parameter on either the CreateEndpoint
or ModifyEndpoint
API call. Specifying DatabaseName
when you create or modify a
MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify
the database only when you specify the schema in the table-mapping rules of the DMS task.public void setEventsPollInterval(Integer eventsPollInterval)
Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.
Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
eventsPollInterval
- Specifies how often to check the binary log for new changes/events when the database is idle. The default
is five seconds.
Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
public Integer getEventsPollInterval()
Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.
Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
public MySQLSettings withEventsPollInterval(Integer eventsPollInterval)
Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.
Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
eventsPollInterval
- Specifies how often to check the binary log for new changes/events when the database is idle. The default
is five seconds.
Example: eventsPollInterval=5;
In the example, DMS checks for changes in the binary logs every five seconds.
public void setTargetDbType(String targetDbType)
Specifies where to migrate source tables on the target, either to a single database or multiple databases. If you
specify SPECIFIC_DATABASE
, specify the database name using the DatabaseName
parameter
of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
targetDbType
- Specifies where to migrate source tables on the target, either to a single database or multiple databases.
If you specify SPECIFIC_DATABASE
, specify the database name using the
DatabaseName
parameter of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
TargetDbType
public String getTargetDbType()
Specifies where to migrate source tables on the target, either to a single database or multiple databases. If you
specify SPECIFIC_DATABASE
, specify the database name using the DatabaseName
parameter
of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
SPECIFIC_DATABASE
, specify the database name using the
DatabaseName
parameter of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
TargetDbType
public MySQLSettings withTargetDbType(String targetDbType)
Specifies where to migrate source tables on the target, either to a single database or multiple databases. If you
specify SPECIFIC_DATABASE
, specify the database name using the DatabaseName
parameter
of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
targetDbType
- Specifies where to migrate source tables on the target, either to a single database or multiple databases.
If you specify SPECIFIC_DATABASE
, specify the database name using the
DatabaseName
parameter of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
TargetDbType
public MySQLSettings withTargetDbType(TargetDbType targetDbType)
Specifies where to migrate source tables on the target, either to a single database or multiple databases. If you
specify SPECIFIC_DATABASE
, specify the database name using the DatabaseName
parameter
of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
targetDbType
- Specifies where to migrate source tables on the target, either to a single database or multiple databases.
If you specify SPECIFIC_DATABASE
, specify the database name using the
DatabaseName
parameter of the Endpoint
object.
Example: targetDbType=MULTIPLE_DATABASES
TargetDbType
public void setMaxFileSize(Integer maxFileSize)
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
Example: maxFileSize=512
maxFileSize
- Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible
database.
Example: maxFileSize=512
public Integer getMaxFileSize()
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
Example: maxFileSize=512
Example: maxFileSize=512
public MySQLSettings withMaxFileSize(Integer maxFileSize)
Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.
Example: maxFileSize=512
maxFileSize
- Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible
database.
Example: maxFileSize=512
public void setParallelLoadThreads(Integer parallelLoadThreads)
Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.
Example: parallelLoadThreads=1
parallelLoadThreads
- Improves performance when loading data into the MySQL-compatible target database. Specifies how many
threads to use to load the data into the MySQL-compatible target database. Setting a large number of
threads can have an adverse effect on database performance, because a separate connection is required for
each thread. The default is one.
Example: parallelLoadThreads=1
public Integer getParallelLoadThreads()
Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.
Example: parallelLoadThreads=1
Example: parallelLoadThreads=1
public MySQLSettings withParallelLoadThreads(Integer parallelLoadThreads)
Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.
Example: parallelLoadThreads=1
parallelLoadThreads
- Improves performance when loading data into the MySQL-compatible target database. Specifies how many
threads to use to load the data into the MySQL-compatible target database. Setting a large number of
threads can have an adverse effect on database performance, because a separate connection is required for
each thread. The default is one.
Example: parallelLoadThreads=1
public void setPassword(String password)
Endpoint connection password.
password
- Endpoint connection password.public String getPassword()
Endpoint connection password.
public MySQLSettings withPassword(String password)
Endpoint connection password.
password
- Endpoint connection password.public void setPort(Integer port)
Endpoint TCP port.
port
- Endpoint TCP port.public Integer getPort()
Endpoint TCP port.
public MySQLSettings withPort(Integer port)
Endpoint TCP port.
port
- Endpoint TCP port.public void setServerName(String serverName)
The host name of the endpoint database.
For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.
For an Aurora MySQL instance, this is the output of DescribeDBClusters, in the Endpoint
field.
serverName
- The host name of the endpoint database.
For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.
For an Aurora MySQL instance, this is the output of DescribeDBClusters, in the Endpoint
field.
public String getServerName()
The host name of the endpoint database.
For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.
For an Aurora MySQL instance, this is the output of DescribeDBClusters, in the Endpoint
field.
For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.
For an Aurora MySQL instance, this is the output of DescribeDBClusters, in the Endpoint
field.
public MySQLSettings withServerName(String serverName)
The host name of the endpoint database.
For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.
For an Aurora MySQL instance, this is the output of DescribeDBClusters, in the Endpoint
field.
serverName
- The host name of the endpoint database.
For an Amazon RDS MySQL instance, this is the output of DescribeDBInstances, in the
Endpoint.Address
field.
For an Aurora MySQL instance, this is the output of DescribeDBClusters, in the Endpoint
field.
public void setServerTimezone(String serverTimezone)
Specifies the time zone for the source MySQL database.
Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
serverTimezone
- Specifies the time zone for the source MySQL database.
Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
public String getServerTimezone()
Specifies the time zone for the source MySQL database.
Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
public MySQLSettings withServerTimezone(String serverTimezone)
Specifies the time zone for the source MySQL database.
Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
serverTimezone
- Specifies the time zone for the source MySQL database.
Example: serverTimezone=US/Pacific;
Note: Do not enclose time zones in single quotes.
public void setUsername(String username)
Endpoint connection user name.
username
- Endpoint connection user name.public String getUsername()
Endpoint connection user name.
public MySQLSettings withUsername(String username)
Endpoint connection user name.
username
- Endpoint connection user name.public void setSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the MySQL endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values for UserName
,
Password
, ServerName
, and Port
. You can't specify both. For more
information on creating this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it, see Using
secrets to access Database Migration Service resources in the Database Migration Service User Guide.
secretsManagerAccessRoleArn
- The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants
the required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web
Services Secrets Manager secret that allows access to the MySQL endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this
setting and SecretsManagerSecretId
. Or you can specify clear-text values for
UserName
, Password
, ServerName
, and Port
. You can't
specify both. For more information on creating this SecretsManagerSecret
and the
SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it,
see Using secrets to access Database Migration Service resources in the Database Migration Service
User Guide.
public String getSecretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the MySQL endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values for UserName
,
Password
, ServerName
, and Port
. You can't specify both. For more
information on creating this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it, see Using
secrets to access Database Migration Service resources in the Database Migration Service User Guide.
SecretsManagerSecret
. The role must allow
the iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web
Services Secrets Manager secret that allows access to the MySQL endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this
setting and SecretsManagerSecretId
. Or you can specify clear-text values for
UserName
, Password
, ServerName
, and Port
. You can't
specify both. For more information on creating this SecretsManagerSecret
and the
SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it,
see Using secrets to access Database Migration Service resources in the Database Migration Service
User Guide.
public MySQLSettings withSecretsManagerAccessRoleArn(String secretsManagerAccessRoleArn)
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the MySQL endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId
. Or you can specify clear-text values for UserName
,
Password
, ServerName
, and Port
. You can't specify both. For more
information on creating this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it, see Using
secrets to access Database Migration Service resources in the Database Migration Service User Guide.
secretsManagerAccessRoleArn
- The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants
the required permissions to access the value in SecretsManagerSecret
. The role must allow the
iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web
Services Secrets Manager secret that allows access to the MySQL endpoint.
You can specify one of two sets of values for these permissions. You can specify the values for this
setting and SecretsManagerSecretId
. Or you can specify clear-text values for
UserName
, Password
, ServerName
, and Port
. You can't
specify both. For more information on creating this SecretsManagerSecret
and the
SecretsManagerAccessRoleArn
and SecretsManagerSecretId
required to access it,
see Using secrets to access Database Migration Service resources in the Database Migration Service
User Guide.
public void setSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the MySQL
endpoint connection details.
secretsManagerSecretId
- The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the
MySQL endpoint connection details.public String getSecretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the MySQL
endpoint connection details.
SecretsManagerSecret
that contains the
MySQL endpoint connection details.public MySQLSettings withSecretsManagerSecretId(String secretsManagerSecretId)
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the MySQL
endpoint connection details.
secretsManagerSecretId
- The full ARN, partial ARN, or friendly name of the SecretsManagerSecret
that contains the
MySQL endpoint connection details.public void setExecuteTimeout(Integer executeTimeout)
Sets the client statement timeout (in seconds) for a MySQL source endpoint.
executeTimeout
- Sets the client statement timeout (in seconds) for a MySQL source endpoint.public Integer getExecuteTimeout()
Sets the client statement timeout (in seconds) for a MySQL source endpoint.
public MySQLSettings withExecuteTimeout(Integer executeTimeout)
Sets the client statement timeout (in seconds) for a MySQL source endpoint.
executeTimeout
- Sets the client statement timeout (in seconds) for a MySQL source endpoint.public String toString()
toString
in class Object
Object.toString()
public MySQLSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.