Class CfnEndpoint.OracleSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.OracleSettingsProperty>
- Enclosing interface:
CfnEndpoint.OracleSettingsProperty
CfnEndpoint.OracleSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessAlternateDirectly
(Boolean accessAlternateDirectly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAccessAlternateDirectly()
accessAlternateDirectly
(IResolvable accessAlternateDirectly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAccessAlternateDirectly()
additionalArchivedLogDestId
(Number additionalArchivedLogDestId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAdditionalArchivedLogDestId()
addSupplementalLogging
(Boolean addSupplementalLogging) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAddSupplementalLogging()
addSupplementalLogging
(IResolvable addSupplementalLogging) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAddSupplementalLogging()
allowSelectNestedTables
(Boolean allowSelectNestedTables) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAllowSelectNestedTables()
allowSelectNestedTables
(IResolvable allowSelectNestedTables) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAllowSelectNestedTables()
archivedLogDestId
(Number archivedLogDestId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getArchivedLogDestId()
archivedLogsOnly
(Boolean archivedLogsOnly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getArchivedLogsOnly()
archivedLogsOnly
(IResolvable archivedLogsOnly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getArchivedLogsOnly()
asmPassword
(String asmPassword) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAsmPassword()
Sets the value ofCfnEndpoint.OracleSettingsProperty.getAsmServer()
Sets the value ofCfnEndpoint.OracleSettingsProperty.getAsmUser()
build()
Builds the configured instance.charLengthSemantics
(String charLengthSemantics) Sets the value ofCfnEndpoint.OracleSettingsProperty.getCharLengthSemantics()
directPathNoLog
(Boolean directPathNoLog) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathNoLog()
directPathNoLog
(IResolvable directPathNoLog) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathNoLog()
directPathParallelLoad
(Boolean directPathParallelLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathParallelLoad()
directPathParallelLoad
(IResolvable directPathParallelLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathParallelLoad()
enableHomogenousTablespace
(Boolean enableHomogenousTablespace) Sets the value ofCfnEndpoint.OracleSettingsProperty.getEnableHomogenousTablespace()
enableHomogenousTablespace
(IResolvable enableHomogenousTablespace) Sets the value ofCfnEndpoint.OracleSettingsProperty.getEnableHomogenousTablespace()
extraArchivedLogDestIds
(List<? extends Number> extraArchivedLogDestIds) Sets the value ofCfnEndpoint.OracleSettingsProperty.getExtraArchivedLogDestIds()
extraArchivedLogDestIds
(IResolvable extraArchivedLogDestIds) Sets the value ofCfnEndpoint.OracleSettingsProperty.getExtraArchivedLogDestIds()
failTasksOnLobTruncation
(Boolean failTasksOnLobTruncation) Sets the value ofCfnEndpoint.OracleSettingsProperty.getFailTasksOnLobTruncation()
failTasksOnLobTruncation
(IResolvable failTasksOnLobTruncation) Sets the value ofCfnEndpoint.OracleSettingsProperty.getFailTasksOnLobTruncation()
numberDatatypeScale
(Number numberDatatypeScale) Sets the value ofCfnEndpoint.OracleSettingsProperty.getNumberDatatypeScale()
oraclePathPrefix
(String oraclePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getOraclePathPrefix()
parallelAsmReadThreads
(Number parallelAsmReadThreads) Sets the value ofCfnEndpoint.OracleSettingsProperty.getParallelAsmReadThreads()
readAheadBlocks
(Number readAheadBlocks) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReadAheadBlocks()
readTableSpaceName
(Boolean readTableSpaceName) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReadTableSpaceName()
readTableSpaceName
(IResolvable readTableSpaceName) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReadTableSpaceName()
replacePathPrefix
(Boolean replacePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReplacePathPrefix()
replacePathPrefix
(IResolvable replacePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReplacePathPrefix()
retryInterval
(Number retryInterval) Sets the value ofCfnEndpoint.OracleSettingsProperty.getRetryInterval()
secretsManagerAccessRoleArn
(String secretsManagerAccessRoleArn) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecretsManagerAccessRoleArn()
secretsManagerOracleAsmAccessRoleArn
(String secretsManagerOracleAsmAccessRoleArn) secretsManagerOracleAsmSecretId
(String secretsManagerOracleAsmSecretId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecretsManagerOracleAsmSecretId()
secretsManagerSecretId
(String secretsManagerSecretId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecretsManagerSecretId()
securityDbEncryption
(String securityDbEncryption) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecurityDbEncryption()
securityDbEncryptionName
(String securityDbEncryptionName) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecurityDbEncryptionName()
spatialDataOptionToGeoJsonFunctionName
(String spatialDataOptionToGeoJsonFunctionName) standbyDelayTime
(Number standbyDelayTime) Sets the value ofCfnEndpoint.OracleSettingsProperty.getStandbyDelayTime()
useAlternateFolderForOnline
(Boolean useAlternateFolderForOnline) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseAlternateFolderForOnline()
useAlternateFolderForOnline
(IResolvable useAlternateFolderForOnline) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseAlternateFolderForOnline()
Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseBFile()
useBFile
(IResolvable useBFile) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseBFile()
useDirectPathFullLoad
(Boolean useDirectPathFullLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseDirectPathFullLoad()
useDirectPathFullLoad
(IResolvable useDirectPathFullLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseDirectPathFullLoad()
useLogminerReader
(Boolean useLogminerReader) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseLogminerReader()
useLogminerReader
(IResolvable useLogminerReader) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseLogminerReader()
usePathPrefix
(String usePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUsePathPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessAlternateDirectly
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder accessAlternateDirectly(Boolean accessAlternateDirectly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAccessAlternateDirectly()
- Parameters:
accessAlternateDirectly
- Set this attribute tofalse
in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to not access redo logs through any specified path prefix replacement using direct file access.- Returns:
this
-
accessAlternateDirectly
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder accessAlternateDirectly(IResolvable accessAlternateDirectly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAccessAlternateDirectly()
- Parameters:
accessAlternateDirectly
- Set this attribute tofalse
in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to not access redo logs through any specified path prefix replacement using direct file access.- Returns:
this
-
additionalArchivedLogDestId
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder additionalArchivedLogDestId(Number additionalArchivedLogDestId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAdditionalArchivedLogDestId()
- Parameters:
additionalArchivedLogDestId
- Set this attribute withArchivedLogDestId
in a primary/ standby setup. This attribute is useful in the case of a switchover. In this case, AWS DMS needs to know which destination to get archive redo logs from to read changes. This need arises because the previous primary instance is now a standby instance after switchover.Although AWS DMS supports the use of the Oracle
RESETLOGS
option to open the database, never useRESETLOGS
unless necessary. For additional information aboutRESETLOGS
, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide .- Returns:
this
-
addSupplementalLogging
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder addSupplementalLogging(Boolean addSupplementalLogging) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAddSupplementalLogging()
- Parameters:
addSupplementalLogging
- Set this attribute to set up table-level supplemental logging for the Oracle database. This attribute enables PRIMARY KEY supplemental logging on all tables selected for a migration task.If you use this option, you still need to enable database-level supplemental logging.
- Returns:
this
-
addSupplementalLogging
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder addSupplementalLogging(IResolvable addSupplementalLogging) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAddSupplementalLogging()
- Parameters:
addSupplementalLogging
- Set this attribute to set up table-level supplemental logging for the Oracle database. This attribute enables PRIMARY KEY supplemental logging on all tables selected for a migration task.If you use this option, you still need to enable database-level supplemental logging.
- Returns:
this
-
allowSelectNestedTables
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder allowSelectNestedTables(Boolean allowSelectNestedTables) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAllowSelectNestedTables()
- Parameters:
allowSelectNestedTables
- Set this attribute totrue
to enable replication of Oracle tables containing columns that are nested tables or defined types.- Returns:
this
-
allowSelectNestedTables
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder allowSelectNestedTables(IResolvable allowSelectNestedTables) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAllowSelectNestedTables()
- Parameters:
allowSelectNestedTables
- Set this attribute totrue
to enable replication of Oracle tables containing columns that are nested tables or defined types.- Returns:
this
-
archivedLogDestId
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder archivedLogDestId(Number archivedLogDestId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getArchivedLogDestId()
- Parameters:
archivedLogDestId
- Specifies the ID of the destination for the archived redo logs. This value should be the same as a number in the dest_id column of the v$archived_log view. If you work with an additional redo log destination, use theAdditionalArchivedLogDestId
option to specify the additional destination ID. Doing this improves performance by ensuring that the correct logs are accessed from the outset.- Returns:
this
-
archivedLogsOnly
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder archivedLogsOnly(Boolean archivedLogsOnly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getArchivedLogsOnly()
- Parameters:
archivedLogsOnly
- When this field is set toTrue
, AWS DMS only accesses the archived redo logs. If the archived redo logs are stored on Automatic Storage Management (ASM) only, the AWS DMS user account needs to be granted ASM privileges.- Returns:
this
-
archivedLogsOnly
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder archivedLogsOnly(IResolvable archivedLogsOnly) Sets the value ofCfnEndpoint.OracleSettingsProperty.getArchivedLogsOnly()
- Parameters:
archivedLogsOnly
- When this field is set toTrue
, AWS DMS only accesses the archived redo logs. If the archived redo logs are stored on Automatic Storage Management (ASM) only, the AWS DMS user account needs to be granted ASM privileges.- Returns:
this
-
asmPassword
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder asmPassword(String asmPassword) Sets the value ofCfnEndpoint.OracleSettingsProperty.getAsmPassword()
- Parameters:
asmPassword
- For an Oracle source endpoint, your Oracle Automatic Storage Management (ASM) password. You can set this value from the*asm_user_password*
value. You set this value as part of the comma-separated value that you set to thePassword
request parameter when you create the endpoint to access transaction logs using Binary Reader. For more information, see Configuration for change data capture (CDC) on an Oracle source database .- Returns:
this
-
asmServer
Sets the value ofCfnEndpoint.OracleSettingsProperty.getAsmServer()
- Parameters:
asmServer
- For an Oracle source endpoint, your ASM server address. You can set this value from theasm_server
value. You setasm_server
as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database .- Returns:
this
-
asmUser
Sets the value ofCfnEndpoint.OracleSettingsProperty.getAsmUser()
- Parameters:
asmUser
- For an Oracle source endpoint, your ASM user name. You can set this value from theasm_user
value. You setasm_user
as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database .- Returns:
this
-
charLengthSemantics
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder charLengthSemantics(String charLengthSemantics) Sets the value ofCfnEndpoint.OracleSettingsProperty.getCharLengthSemantics()
- Parameters:
charLengthSemantics
- Specifies whether the length of a character column is in bytes or in characters. To indicate that the character column length is in characters, set this attribute toCHAR
. Otherwise, the character column length is in bytes.Example:
charLengthSemantics=CHAR;
- Returns:
this
-
directPathNoLog
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder directPathNoLog(Boolean directPathNoLog) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathNoLog()
- Parameters:
directPathNoLog
- When set totrue
, this attribute helps to increase the commit rate on the Oracle target database by writing directly to tables and not writing a trail to database logs.- Returns:
this
-
directPathNoLog
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder directPathNoLog(IResolvable directPathNoLog) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathNoLog()
- Parameters:
directPathNoLog
- When set totrue
, this attribute helps to increase the commit rate on the Oracle target database by writing directly to tables and not writing a trail to database logs.- Returns:
this
-
directPathParallelLoad
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder directPathParallelLoad(Boolean directPathParallelLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathParallelLoad()
- Parameters:
directPathParallelLoad
- When set totrue
, this attribute specifies a parallel load whenuseDirectPathFullLoad
is set toY
. This attribute also only applies when you use the AWS DMS parallel load feature. Note that the target table cannot have any constraints or indexes.- Returns:
this
-
directPathParallelLoad
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder directPathParallelLoad(IResolvable directPathParallelLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getDirectPathParallelLoad()
- Parameters:
directPathParallelLoad
- When set totrue
, this attribute specifies a parallel load whenuseDirectPathFullLoad
is set toY
. This attribute also only applies when you use the AWS DMS parallel load feature. Note that the target table cannot have any constraints or indexes.- Returns:
this
-
enableHomogenousTablespace
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder enableHomogenousTablespace(Boolean enableHomogenousTablespace) Sets the value ofCfnEndpoint.OracleSettingsProperty.getEnableHomogenousTablespace()
- Parameters:
enableHomogenousTablespace
- Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.- Returns:
this
-
enableHomogenousTablespace
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder enableHomogenousTablespace(IResolvable enableHomogenousTablespace) Sets the value ofCfnEndpoint.OracleSettingsProperty.getEnableHomogenousTablespace()
- Parameters:
enableHomogenousTablespace
- Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.- Returns:
this
-
extraArchivedLogDestIds
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder extraArchivedLogDestIds(IResolvable extraArchivedLogDestIds) Sets the value ofCfnEndpoint.OracleSettingsProperty.getExtraArchivedLogDestIds()
- Parameters:
extraArchivedLogDestIds
- Specifies the IDs of one more destinations for one or more archived redo logs. These IDs are the values of thedest_id
column in thev$archived_log
view. Use this setting with thearchivedLogDestId
extra connection attribute in a primary-to-single setup or a primary-to-multiple-standby setup.This setting is useful in a switchover when you use an Oracle Data Guard database as a source. In this case, AWS DMS needs information about what destination to get archive redo logs from to read changes. AWS DMS needs this because after the switchover the previous primary is a standby instance. For example, in a primary-to-single standby setup you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2]
In a primary-to-multiple-standby setup, you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2,3,4]
Although AWS DMS supports the use of the Oracle
RESETLOGS
option to open the database, never useRESETLOGS
unless it's necessary. For more information aboutRESETLOGS
, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide .- Returns:
this
-
extraArchivedLogDestIds
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder extraArchivedLogDestIds(List<? extends Number> extraArchivedLogDestIds) Sets the value ofCfnEndpoint.OracleSettingsProperty.getExtraArchivedLogDestIds()
- Parameters:
extraArchivedLogDestIds
- Specifies the IDs of one more destinations for one or more archived redo logs. These IDs are the values of thedest_id
column in thev$archived_log
view. Use this setting with thearchivedLogDestId
extra connection attribute in a primary-to-single setup or a primary-to-multiple-standby setup.This setting is useful in a switchover when you use an Oracle Data Guard database as a source. In this case, AWS DMS needs information about what destination to get archive redo logs from to read changes. AWS DMS needs this because after the switchover the previous primary is a standby instance. For example, in a primary-to-single standby setup you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2]
In a primary-to-multiple-standby setup, you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2,3,4]
Although AWS DMS supports the use of the Oracle
RESETLOGS
option to open the database, never useRESETLOGS
unless it's necessary. For more information aboutRESETLOGS
, see RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide .- Returns:
this
-
failTasksOnLobTruncation
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder failTasksOnLobTruncation(Boolean failTasksOnLobTruncation) Sets the value ofCfnEndpoint.OracleSettingsProperty.getFailTasksOnLobTruncation()
- Parameters:
failTasksOnLobTruncation
- When set totrue
, this attribute causes a task to fail if the actual size of an LOB column is greater than the specifiedLobMaxSize
. If a task is set to limited LOB mode and this option is set totrue
, the task fails instead of truncating the LOB data.- Returns:
this
-
failTasksOnLobTruncation
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder failTasksOnLobTruncation(IResolvable failTasksOnLobTruncation) Sets the value ofCfnEndpoint.OracleSettingsProperty.getFailTasksOnLobTruncation()
- Parameters:
failTasksOnLobTruncation
- When set totrue
, this attribute causes a task to fail if the actual size of an LOB column is greater than the specifiedLobMaxSize
. If a task is set to limited LOB mode and this option is set totrue
, the task fails instead of truncating the LOB data.- Returns:
this
-
numberDatatypeScale
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder numberDatatypeScale(Number numberDatatypeScale) Sets the value ofCfnEndpoint.OracleSettingsProperty.getNumberDatatypeScale()
- Parameters:
numberDatatypeScale
- Specifies the number scale. You can select a scale up to 38, or you can select FLOAT. By default, the NUMBER data type is converted to precision 38, scale 10.Example:
numberDataTypeScale=12
- Returns:
this
-
oraclePathPrefix
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder oraclePathPrefix(String oraclePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getOraclePathPrefix()
- Parameters:
oraclePathPrefix
- Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the default Oracle root used to access the redo logs.- Returns:
this
-
parallelAsmReadThreads
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder parallelAsmReadThreads(Number parallelAsmReadThreads) Sets the value ofCfnEndpoint.OracleSettingsProperty.getParallelAsmReadThreads()
- Parameters:
parallelAsmReadThreads
- Set this attribute to change the number of threads that DMS configures to perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 2 (the default) and 8 (the maximum). Use this attribute together with thereadAheadBlocks
attribute.- Returns:
this
-
readAheadBlocks
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder readAheadBlocks(Number readAheadBlocks) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReadAheadBlocks()
- Parameters:
readAheadBlocks
- Set this attribute to change the number of read-ahead blocks that DMS configures to perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 1000 (the default) and 200,000 (the maximum).- Returns:
this
-
readTableSpaceName
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder readTableSpaceName(Boolean readTableSpaceName) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReadTableSpaceName()
- Parameters:
readTableSpaceName
- When set totrue
, this attribute supports tablespace replication.- Returns:
this
-
readTableSpaceName
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder readTableSpaceName(IResolvable readTableSpaceName) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReadTableSpaceName()
- Parameters:
readTableSpaceName
- When set totrue
, this attribute supports tablespace replication.- Returns:
this
-
replacePathPrefix
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder replacePathPrefix(Boolean replacePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReplacePathPrefix()
- Parameters:
replacePathPrefix
- Set this attribute to true in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This setting tells DMS instance to replace the default Oracle root with the specifiedusePathPrefix
setting to access the redo logs.- Returns:
this
-
replacePathPrefix
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder replacePathPrefix(IResolvable replacePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getReplacePathPrefix()
- Parameters:
replacePathPrefix
- Set this attribute to true in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This setting tells DMS instance to replace the default Oracle root with the specifiedusePathPrefix
setting to access the redo logs.- Returns:
this
-
retryInterval
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder retryInterval(Number retryInterval) Sets the value ofCfnEndpoint.OracleSettingsProperty.getRetryInterval()
- Parameters:
retryInterval
- Specifies the number of seconds that the system waits before resending a query. Example:retryInterval=6;
- Returns:
this
-
secretsManagerAccessRoleArn
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder secretsManagerAccessRoleArn(String secretsManagerAccessRoleArn) Sets the value ofCfnEndpoint.OracleSettingsProperty.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:PassRole
action.SecretsManagerSecret
has the value of the AWS Secrets Manager secret that allows access to the Oracle 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 theSecretsManagerSecretId
that 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
-
secretsManagerOracleAsmAccessRoleArn
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder secretsManagerOracleAsmAccessRoleArn(String secretsManagerOracleAsmAccessRoleArn) - Parameters:
secretsManagerOracleAsmAccessRoleArn
- Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access theSecretsManagerOracleAsmSecret
. ThisSecretsManagerOracleAsmSecret
has the secret value that allows access to the Oracle ASM of the endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerOracleAsmSecretId
. Or you can specify clear-text values forAsmUser
,AsmPassword
, andAsmServerName
. You can't specify both.For more information on creating this
SecretsManagerOracleAsmSecret
, the correspondingSecretsManagerOracleAsmAccessRoleArn
, and theSecretsManagerOracleAsmSecretId
that 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
-
secretsManagerOracleAsmSecretId
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder secretsManagerOracleAsmSecretId(String secretsManagerOracleAsmSecretId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecretsManagerOracleAsmSecretId()
- Parameters:
secretsManagerOracleAsmSecretId
- Required only if your Oracle endpoint uses Advanced Storage Manager (ASM). The full ARN, partial ARN, or display name of theSecretsManagerOracleAsmSecret
that contains the Oracle ASM connection details for the Oracle endpoint.- Returns:
this
-
secretsManagerSecretId
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder secretsManagerSecretId(String secretsManagerSecretId) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecretsManagerSecretId()
- Parameters:
secretsManagerSecretId
- The full ARN, partial ARN, or display name of theSecretsManagerSecret
that contains the Oracle endpoint connection details.- Returns:
this
-
securityDbEncryption
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder securityDbEncryption(String securityDbEncryption) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecurityDbEncryption()
- Parameters:
securityDbEncryption
- For an Oracle source endpoint, the transparent data encryption (TDE) password required by AWM DMS to access Oracle redo logs encrypted by TDE using Binary Reader. It is also the*TDE_Password*
part of the comma-separated value you set to thePassword
request parameter when you create the endpoint. TheSecurityDbEncryptian
setting is related to thisSecurityDbEncryptionName
setting. For more information, see Supported encryption methods for using Oracle as a source for AWS DMS in the AWS Database Migration Service User Guide .- Returns:
this
-
securityDbEncryptionName
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder securityDbEncryptionName(String securityDbEncryptionName) Sets the value ofCfnEndpoint.OracleSettingsProperty.getSecurityDbEncryptionName()
- Parameters:
securityDbEncryptionName
- For an Oracle source endpoint, the name of a key used for the transparent data encryption (TDE) of the columns and tablespaces in an Oracle source database that is encrypted using TDE. The key value is the value of theSecurityDbEncryption
setting. For more information on setting the key name value ofSecurityDbEncryptionName
, see the information and example for setting thesecurityDbEncryptionName
extra connection attribute in Supported encryption methods for using Oracle as a source for AWS DMS in the AWS Database Migration Service User Guide .- Returns:
this
-
spatialDataOptionToGeoJsonFunctionName
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder spatialDataOptionToGeoJsonFunctionName(String spatialDataOptionToGeoJsonFunctionName) - Parameters:
spatialDataOptionToGeoJsonFunctionName
- Use this attribute to convertSDO_GEOMETRY
toGEOJSON
format. By default, DMS calls theSDO2GEOJSON
custom function if present and accessible. Or you can create your own custom function that mimics the operation ofSDOGEOJSON
and setSpatialDataOptionToGeoJsonFunctionName
to call it instead.- Returns:
this
-
standbyDelayTime
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder standbyDelayTime(Number standbyDelayTime) Sets the value ofCfnEndpoint.OracleSettingsProperty.getStandbyDelayTime()
- Parameters:
standbyDelayTime
- Use this attribute to specify a time in minutes for the delay in standby sync. If the source is an Oracle Active Data Guard standby database, use this attribute to specify the time lag between primary and standby databases.In AWS DMS , you can create an Oracle CDC task that uses an Active Data Guard standby instance as a source for replicating ongoing changes. Doing this eliminates the need to connect to an active database that might be in production.
- Returns:
this
-
useAlternateFolderForOnline
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder useAlternateFolderForOnline(Boolean useAlternateFolderForOnline) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseAlternateFolderForOnline()
- Parameters:
useAlternateFolderForOnline
- Set this attribute totrue
in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to use any specified prefix replacement to access all online redo logs.- Returns:
this
-
useAlternateFolderForOnline
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder useAlternateFolderForOnline(IResolvable useAlternateFolderForOnline) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseAlternateFolderForOnline()
- Parameters:
useAlternateFolderForOnline
- Set this attribute totrue
in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to use any specified prefix replacement to access all online redo logs.- Returns:
this
-
useBFile
Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseBFile()
- Parameters:
useBFile
- Set this attribute to True to capture change data using the Binary Reader utility. SetUseLogminerReader
to False to set this attribute to True. To use Binary Reader with Amazon RDS for Oracle as the source, you set additional attributes. For more information about using this setting with Oracle Automatic Storage Management (ASM), see Using Oracle LogMiner or AWS DMS Binary Reader for CDC .- Returns:
this
-
useBFile
Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseBFile()
- Parameters:
useBFile
- Set this attribute to True to capture change data using the Binary Reader utility. SetUseLogminerReader
to False to set this attribute to True. To use Binary Reader with Amazon RDS for Oracle as the source, you set additional attributes. For more information about using this setting with Oracle Automatic Storage Management (ASM), see Using Oracle LogMiner or AWS DMS Binary Reader for CDC .- Returns:
this
-
useDirectPathFullLoad
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder useDirectPathFullLoad(Boolean useDirectPathFullLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseDirectPathFullLoad()
- Parameters:
useDirectPathFullLoad
- Set this attribute to True to have AWS DMS use a direct path full load. Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). By using this OCI protocol, you can bulk-load Oracle target tables during a full load.- Returns:
this
-
useDirectPathFullLoad
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder useDirectPathFullLoad(IResolvable useDirectPathFullLoad) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseDirectPathFullLoad()
- Parameters:
useDirectPathFullLoad
- Set this attribute to True to have AWS DMS use a direct path full load. Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). By using this OCI protocol, you can bulk-load Oracle target tables during a full load.- Returns:
this
-
useLogminerReader
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder useLogminerReader(Boolean useLogminerReader) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseLogminerReader()
- Parameters:
useLogminerReader
- Set this attribute to True to capture change data using the Oracle LogMiner utility (the default). Set this attribute to False if you want to access the redo logs as a binary file. When you setUseLogminerReader
to False, also setUseBfile
to True. For more information on this setting and using Oracle ASM, see Using Oracle LogMiner or AWS DMS Binary Reader for CDC in the AWS DMS User Guide .- Returns:
this
-
useLogminerReader
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder useLogminerReader(IResolvable useLogminerReader) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUseLogminerReader()
- Parameters:
useLogminerReader
- Set this attribute to True to capture change data using the Oracle LogMiner utility (the default). Set this attribute to False if you want to access the redo logs as a binary file. When you setUseLogminerReader
to False, also setUseBfile
to True. For more information on this setting and using Oracle ASM, see Using Oracle LogMiner or AWS DMS Binary Reader for CDC in the AWS DMS User Guide .- Returns:
this
-
usePathPrefix
@Stability(Stable) public CfnEndpoint.OracleSettingsProperty.Builder usePathPrefix(String usePathPrefix) Sets the value ofCfnEndpoint.OracleSettingsProperty.getUsePathPrefix()
- Parameters:
usePathPrefix
- Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the path prefix used to replace the default Oracle root to access the redo logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpoint.OracleSettingsProperty>
- Returns:
- a new instance of
CfnEndpoint.OracleSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-