Class CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty>
- Enclosing interface:
CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty
CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbcpPacketSize(Number bcpPacketSize) build()Builds the configured instance.controlTablesFileGroup(String controlTablesFileGroup) databaseName(String databaseName) forceLobLookup(Boolean forceLobLookup) forceLobLookup(IResolvable forceLobLookup) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getPassword()Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getPort()querySingleAlwaysOnNode(Boolean querySingleAlwaysOnNode) querySingleAlwaysOnNode(IResolvable querySingleAlwaysOnNode) readBackupOnly(Boolean readBackupOnly) readBackupOnly(IResolvable readBackupOnly) safeguardPolicy(String safeguardPolicy) secretsManagerAccessRoleArn(String secretsManagerAccessRoleArn) secretsManagerSecretId(String secretsManagerSecretId) serverName(String serverName) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getServerName()tlogAccessMode(String tlogAccessMode) trimSpaceInChar(Boolean trimSpaceInChar) trimSpaceInChar(IResolvable trimSpaceInChar) useBcpFullLoad(Boolean useBcpFullLoad) useBcpFullLoad(IResolvable useBcpFullLoad) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getUsername()useThirdPartyBackupDevice(Boolean useThirdPartyBackupDevice) useThirdPartyBackupDevice(IResolvable useThirdPartyBackupDevice)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bcpPacketSize
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder bcpPacketSize(Number bcpPacketSize) - Parameters:
bcpPacketSize- The maximum size of the packets (in bytes) used to transfer data using BCP.- Returns:
this
-
controlTablesFileGroup
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder controlTablesFileGroup(String controlTablesFileGroup) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getControlTablesFileGroup()- Parameters:
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.- Returns:
this
-
databaseName
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder databaseName(String databaseName) - Parameters:
databaseName- Database name for the endpoint.- Returns:
this
-
forceLobLookup
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder forceLobLookup(Boolean forceLobLookup) - Parameters:
forceLobLookup- Forces LOB lookup on inline LOB.- Returns:
this
-
forceLobLookup
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder forceLobLookup(IResolvable forceLobLookup) - Parameters:
forceLobLookup- Forces LOB lookup on inline LOB.- Returns:
this
-
password
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder password(String password) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getPassword()- Parameters:
password- Endpoint connection password.- Returns:
this
-
port
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder port(Number port) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getPort()- Parameters:
port- Endpoint TCP port.- Returns:
this
-
querySingleAlwaysOnNode
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder querySingleAlwaysOnNode(Boolean querySingleAlwaysOnNode) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getQuerySingleAlwaysOnNode()- Parameters:
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.- Returns:
this
-
querySingleAlwaysOnNode
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder querySingleAlwaysOnNode(IResolvable querySingleAlwaysOnNode) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getQuerySingleAlwaysOnNode()- Parameters:
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.- Returns:
this
-
readBackupOnly
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder readBackupOnly(Boolean readBackupOnly) - Parameters:
readBackupOnly- When this attribute is set toY, 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 toYenables 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.- Returns:
this
-
readBackupOnly
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder readBackupOnly(IResolvable readBackupOnly) - Parameters:
readBackupOnly- When this attribute is set toY, 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 toYenables 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.- Returns:
this
-
safeguardPolicy
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder safeguardPolicy(String safeguardPolicy) - Parameters:
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.
- Returns:
this
-
secretsManagerAccessRoleArn
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder secretsManagerAccessRoleArn(String secretsManagerAccessRoleArn) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getSecretsManagerAccessRoleArn()- Parameters:
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 inSecretsManagerSecret. The role must allow theiam:PassRoleaction.SecretsManagerSecrethas 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 forUserName,Password,ServerName, andPort. You can't specify both.For more information on creating this
SecretsManagerSecret, the correspondingSecretsManagerAccessRoleArn, and theSecretsManagerSecretIdthat is required to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide .- Returns:
this
-
secretsManagerSecretId
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder secretsManagerSecretId(String secretsManagerSecretId) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getSecretsManagerSecretId()- Parameters:
secretsManagerSecretId- The full ARN, partial ARN, or display name of theSecretsManagerSecretthat contains the MicrosoftSQLServer endpoint connection details.- Returns:
this
-
serverName
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder serverName(String serverName) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getServerName()- Parameters:
serverName- Fully qualified domain name of the endpoint. For an Amazon RDS SQL Server instance, this is the output of DescribeDBInstances , in the[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Addressfield.- Returns:
this
-
tlogAccessMode
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder tlogAccessMode(String tlogAccessMode) - Parameters:
tlogAccessMode- Indicates the mode used to fetch CDC data.- Returns:
this
-
trimSpaceInChar
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder trimSpaceInChar(Boolean trimSpaceInChar) - Parameters:
trimSpaceInChar- Use theTrimSpaceInCharsource endpoint setting to right-trim data on CHAR and NCHAR data types during migration. SettingTrimSpaceInChardoes not left-trim data. The default value istrue.- Returns:
this
-
trimSpaceInChar
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder trimSpaceInChar(IResolvable trimSpaceInChar) - Parameters:
trimSpaceInChar- Use theTrimSpaceInCharsource endpoint setting to right-trim data on CHAR and NCHAR data types during migration. SettingTrimSpaceInChardoes not left-trim data. The default value istrue.- Returns:
this
-
useBcpFullLoad
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder useBcpFullLoad(Boolean useBcpFullLoad) - Parameters:
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.- Returns:
this
-
useBcpFullLoad
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder useBcpFullLoad(IResolvable useBcpFullLoad) - Parameters:
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.- Returns:
this
-
username
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder username(String username) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getUsername()- Parameters:
username- Endpoint connection user name.- Returns:
this
-
useThirdPartyBackupDevice
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder useThirdPartyBackupDevice(Boolean useThirdPartyBackupDevice) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getUseThirdPartyBackupDevice()- Parameters:
useThirdPartyBackupDevice- When this attribute is set toY, DMS processes third-party transaction log backups if they are created in native format.- Returns:
this
-
useThirdPartyBackupDevice
@Stability(Stable) public CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.Builder useThirdPartyBackupDevice(IResolvable useThirdPartyBackupDevice) Sets the value ofCfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty.getUseThirdPartyBackupDevice()- Parameters:
useThirdPartyBackupDevice- When this attribute is set toY, DMS processes third-party transaction log backups if they are created in native format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty>- Returns:
- a new instance of
CfnEndpointPropsMixin.MicrosoftSqlServerSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-