@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MicrosoftSQLServerSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines a Microsoft SQL Server endpoint.
Constructor and Description |
---|
MicrosoftSQLServerSettings() |
Modifier and Type | Method and Description |
---|---|
MicrosoftSQLServerSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getBcpPacketSize()
The maximum size of the packets (in bytes) used to transfer data using BCP.
|
String |
getControlTablesFileGroup()
Specify a filegroup for the AWS DMS internal tables.
|
String |
getDatabaseName()
Database name for the endpoint.
|
String |
getPassword()
Endpoint connection password.
|
Integer |
getPort()
Endpoint TCP port.
|
Boolean |
getReadBackupOnly()
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. |
String |
getSafeguardPolicy()
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 |
getServerName()
Fully qualified domain name of the endpoint.
|
Boolean |
getUseBcpFullLoad()
Use this to attribute to transfer data for full-load operations using BCP.
|
String |
getUsername()
Endpoint connection user name.
|
int |
hashCode() |
Boolean |
isReadBackupOnly()
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. |
Boolean |
isUseBcpFullLoad()
Use this to attribute to transfer data for full-load operations using BCP.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBcpPacketSize(Integer bcpPacketSize)
The maximum size of the packets (in bytes) used to transfer data using BCP.
|
void |
setControlTablesFileGroup(String controlTablesFileGroup)
Specify a filegroup for the AWS DMS internal tables.
|
void |
setDatabaseName(String databaseName)
Database name for the endpoint.
|
void |
setPassword(String password)
Endpoint connection password.
|
void |
setPort(Integer port)
Endpoint TCP port.
|
void |
setReadBackupOnly(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. |
void |
setSafeguardPolicy(String 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.
|
void |
setServerName(String serverName)
Fully qualified domain name of the endpoint.
|
void |
setUseBcpFullLoad(Boolean useBcpFullLoad)
Use this to attribute to transfer data for full-load operations using BCP.
|
void |
setUsername(String username)
Endpoint connection user name.
|
String |
toString()
Returns a string representation of this object.
|
MicrosoftSQLServerSettings |
withBcpPacketSize(Integer bcpPacketSize)
The maximum size of the packets (in bytes) used to transfer data using BCP.
|
MicrosoftSQLServerSettings |
withControlTablesFileGroup(String controlTablesFileGroup)
Specify a filegroup for the AWS DMS internal tables.
|
MicrosoftSQLServerSettings |
withDatabaseName(String databaseName)
Database name for the endpoint.
|
MicrosoftSQLServerSettings |
withPassword(String password)
Endpoint connection password.
|
MicrosoftSQLServerSettings |
withPort(Integer port)
Endpoint TCP port.
|
MicrosoftSQLServerSettings |
withReadBackupOnly(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. |
MicrosoftSQLServerSettings |
withSafeguardPolicy(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.
|
MicrosoftSQLServerSettings |
withSafeguardPolicy(String 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.
|
MicrosoftSQLServerSettings |
withServerName(String serverName)
Fully qualified domain name of the endpoint.
|
MicrosoftSQLServerSettings |
withUseBcpFullLoad(Boolean useBcpFullLoad)
Use this to attribute to transfer data for full-load operations using BCP.
|
MicrosoftSQLServerSettings |
withUsername(String username)
Endpoint connection user name.
|
public void setPort(Integer port)
Endpoint TCP port.
port
- Endpoint TCP port.public Integer getPort()
Endpoint TCP port.
public MicrosoftSQLServerSettings withPort(Integer port)
Endpoint TCP port.
port
- Endpoint TCP port.public void setBcpPacketSize(Integer bcpPacketSize)
The maximum size of the packets (in bytes) used to transfer data using BCP.
bcpPacketSize
- The maximum size of the packets (in bytes) used to transfer data using BCP.public Integer getBcpPacketSize()
The maximum size of the packets (in bytes) used to transfer data using BCP.
public MicrosoftSQLServerSettings withBcpPacketSize(Integer bcpPacketSize)
The maximum size of the packets (in bytes) used to transfer data using BCP.
bcpPacketSize
- The maximum size of the packets (in bytes) used to transfer data using BCP.public void setDatabaseName(String databaseName)
Database name for the endpoint.
databaseName
- Database name for the endpoint.public String getDatabaseName()
Database name for the endpoint.
public MicrosoftSQLServerSettings withDatabaseName(String databaseName)
Database name for the endpoint.
databaseName
- Database name for the endpoint.public void setControlTablesFileGroup(String controlTablesFileGroup)
Specify a filegroup 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 on the specified filegroup.
controlTablesFileGroup
- Specify a filegroup 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 on the
specified filegroup.public String getControlTablesFileGroup()
Specify a filegroup 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 on the specified filegroup.
public MicrosoftSQLServerSettings withControlTablesFileGroup(String controlTablesFileGroup)
Specify a filegroup 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 on the specified filegroup.
controlTablesFileGroup
- Specify a filegroup 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 on the
specified filegroup.public void setPassword(String password)
Endpoint connection password.
password
- Endpoint connection password.public String getPassword()
Endpoint connection password.
public MicrosoftSQLServerSettings withPassword(String password)
Endpoint connection password.
password
- Endpoint connection password.public void setReadBackupOnly(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.
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.public Boolean getReadBackupOnly()
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 MicrosoftSQLServerSettings withReadBackupOnly(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.
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.public Boolean isReadBackupOnly()
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 void setSafeguardPolicy(String 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.
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.
SafeguardPolicy
public String getSafeguardPolicy()
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.
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.
SafeguardPolicy
public MicrosoftSQLServerSettings withSafeguardPolicy(String 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.
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.
SafeguardPolicy
public MicrosoftSQLServerSettings withSafeguardPolicy(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.
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.
SafeguardPolicy
public void setServerName(String serverName)
Fully qualified domain name of the endpoint.
serverName
- Fully qualified domain name of the endpoint.public String getServerName()
Fully qualified domain name of the endpoint.
public MicrosoftSQLServerSettings withServerName(String serverName)
Fully qualified domain name of the endpoint.
serverName
- Fully qualified domain name of the endpoint.public void setUsername(String username)
Endpoint connection user name.
username
- Endpoint connection user name.public String getUsername()
Endpoint connection user name.
public MicrosoftSQLServerSettings withUsername(String username)
Endpoint connection user name.
username
- Endpoint connection user name.public void setUseBcpFullLoad(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.
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 Boolean getUseBcpFullLoad()
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 MicrosoftSQLServerSettings withUseBcpFullLoad(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.
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 Boolean isUseBcpFullLoad()
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 String toString()
toString
in class Object
Object.toString()
public MicrosoftSQLServerSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.