@Generated(value="software.amazon.awssdk:codegen") public final class MicrosoftSQLServerSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MicrosoftSQLServerSettings.Builder,MicrosoftSQLServerSettings>
Provides information that defines a Microsoft SQL Server endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MicrosoftSQLServerSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
bcpPacketSize()
The maximum size of the packets (in bytes) used to transfer data using BCP.
|
static MicrosoftSQLServerSettings.Builder |
builder() |
String |
controlTablesFileGroup()
Specifies a file group for the AWS DMS internal tables.
|
String |
databaseName()
Database name for the endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
password()
Endpoint connection password.
|
Integer |
port()
Endpoint TCP port.
|
Boolean |
querySingleAlwaysOnNode()
Cleans and recreates table metadata information on the replication instance when a mismatch occurs.
|
Boolean |
readBackupOnly()
When this attribute is set to
Y, AWS DMS only reads changes from transaction log backups and doesn't
read from the active transaction log file during ongoing replication. |
SafeguardPolicy |
safeguardPolicy()
Use this attribute to minimize the need to access the backup log and enable AWS DMS to prevent truncation using
one of the following two methods.
|
String |
safeguardPolicyAsString()
Use this attribute to minimize the need to access the backup log and enable AWS DMS to prevent truncation using
one of the following two methods.
|
List<SdkField<?>> |
sdkFields() |
String |
secretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the
required permissions to access the value in
SecretsManagerSecret. |
String |
secretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret that contains the SQL Server
endpoint connection details. |
static Class<? extends MicrosoftSQLServerSettings.Builder> |
serializableBuilderClass() |
String |
serverName()
Fully qualified domain name of the endpoint.
|
MicrosoftSQLServerSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
useBcpFullLoad()
Use this to attribute to transfer data for full-load operations using BCP.
|
String |
username()
Endpoint connection user name.
|
Boolean |
useThirdPartyBackupDevice()
When this attribute is set to
Y, DMS processes third-party transaction log backups if they are
created in native format. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer port()
Endpoint TCP port.
public final Integer bcpPacketSize()
The maximum size of the packets (in bytes) used to transfer data using BCP.
public final String databaseName()
Database name for the endpoint.
public final String controlTablesFileGroup()
Specifies a file group for the AWS DMS internal tables. When the replication task starts, all the internal AWS DMS control tables (awsdms_ apply_exception, awsdms_apply, awsdms_changes) are created for the specified file group.
public final String password()
Endpoint connection password.
public final Boolean querySingleAlwaysOnNode()
Cleans and recreates table metadata information on the replication instance when a mismatch occurs. An example is a situation where running an alter DDL statement on a table might result in different information about the table cached in the replication instance.
public final Boolean readBackupOnly()
When this attribute is set to Y, AWS DMS only reads changes from transaction log backups and doesn't
read from the active transaction log file during ongoing replication. Setting this parameter to Y
enables you to control active transaction log file growth during full load and ongoing replication tasks.
However, it can add some source latency to ongoing replication.
Y, AWS DMS only reads changes from transaction log backups and
doesn't read from the active transaction log file during ongoing replication. Setting this parameter to
Y enables you to control active transaction log file growth during full load and ongoing
replication tasks. However, it can add some source latency to ongoing replication.public final SafeguardPolicy safeguardPolicy()
Use this attribute to minimize the need to access the backup log and enable AWS DMS to prevent truncation using one of the following two methods.
Start transactions in the database: This is the default method. When this method is used, AWS DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method.
Exclusively use sp_repldone within a single task: When this method is used, AWS DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one AWS DMS task can access the database at any given time. Therefore, if you need to run parallel AWS DMS tasks against the same database, use the default method.
If the service returns an enum value that is not available in the current SDK version, safeguardPolicy
will return SafeguardPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from safeguardPolicyAsString().
Start transactions in the database: This is the default method. When this method is used, AWS DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method.
Exclusively use sp_repldone within a single task: When this method is used, AWS DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one AWS DMS task can access the database at any given time. Therefore, if you need to run parallel AWS DMS tasks against the same database, use the default method.
SafeguardPolicypublic final String safeguardPolicyAsString()
Use this attribute to minimize the need to access the backup log and enable AWS DMS to prevent truncation using one of the following two methods.
Start transactions in the database: This is the default method. When this method is used, AWS DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method.
Exclusively use sp_repldone within a single task: When this method is used, AWS DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one AWS DMS task can access the database at any given time. Therefore, if you need to run parallel AWS DMS tasks against the same database, use the default method.
If the service returns an enum value that is not available in the current SDK version, safeguardPolicy
will return SafeguardPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from safeguardPolicyAsString().
Start transactions in the database: This is the default method. When this method is used, AWS DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method.
Exclusively use sp_repldone within a single task: When this method is used, AWS DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one AWS DMS task can access the database at any given time. Therefore, if you need to run parallel AWS DMS tasks against the same database, use the default method.
SafeguardPolicypublic final String serverName()
Fully qualified domain name of the endpoint.
public final String username()
Endpoint connection user name.
public final Boolean useBcpFullLoad()
Use this to attribute to transfer data for full-load operations using BCP. When the target table contains an identity column that does not exist in the source table, you must disable the use BCP for loading table option.
public final Boolean useThirdPartyBackupDevice()
When this attribute is set to Y, DMS processes third-party transaction log backups if they are
created in native format.
Y, DMS processes third-party transaction log backups if they
are created in native format.public final String secretsManagerAccessRoleArn()
The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the
required permissions to access the value in SecretsManagerSecret. SecretsManagerSecret
has the value of the AWS Secrets Manager secret that allows access to the SQL Server 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 AWS Database Migration Service resources in the AWS Database Migration Service
User Guide.
SecretsManagerSecret.
SecretsManagerSecret has the value of the AWS Secrets Manager secret that allows access to
the SQL Server 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 AWS Database Migration Service resources in the AWS Database Migration
Service User Guide.
public final String secretsManagerSecretId()
The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server
endpoint connection details.
SecretsManagerSecret that contains the
SQL Server endpoint connection details.public MicrosoftSQLServerSettings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MicrosoftSQLServerSettings.Builder,MicrosoftSQLServerSettings>public static MicrosoftSQLServerSettings.Builder builder()
public static Class<? extends MicrosoftSQLServerSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.