/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the dms-2016-01-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DatabaseMigrationService.Model { /// /// Provides information that defines an Oracle endpoint. /// public partial class OracleSettings { private bool? _accessAlternateDirectly; private int? _additionalArchivedLogDestId; private bool? _addSupplementalLogging; private bool? _allowSelectNestedTables; private int? _archivedLogDestId; private bool? _archivedLogsOnly; private string _asmPassword; private string _asmServer; private string _asmUser; private CharLengthSemantics _charLengthSemantics; private bool? _convertTimestampWithZoneToUTC; private string _databaseName; private bool? _directPathNoLog; private bool? _directPathParallelLoad; private bool? _enableHomogenousTablespace; private List _extraArchivedLogDestIds = new List(); private bool? _failTasksOnLobTruncation; private int? _numberDatatypeScale; private int? _openTransactionWindow; private string _oraclePathPrefix; private int? _parallelAsmReadThreads; private string _password; private int? _port; private int? _readAheadBlocks; private bool? _readTableSpaceName; private bool? _replacePathPrefix; private int? _retryInterval; private string _secretsManagerAccessRoleArn; private string _secretsManagerOracleAsmAccessRoleArn; private string _secretsManagerOracleAsmSecretId; private string _secretsManagerSecretId; private string _securityDbEncryption; private string _securityDbEncryptionName; private string _serverName; private string _spatialDataOptionToGeoJsonFunctionName; private int? _standbyDelayTime; private bool? _trimSpaceInChar; private bool? _useAlternateFolderForOnline; private bool? _useBFile; private bool? _useDirectPathFullLoad; private bool? _useLogminerReader; private string _usePathPrefix; private string _username; /// /// Gets and sets the property AccessAlternateDirectly. /// /// Set this attribute to false 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. /// /// public bool AccessAlternateDirectly { get { return this._accessAlternateDirectly.GetValueOrDefault(); } set { this._accessAlternateDirectly = value; } } // Check to see if AccessAlternateDirectly property is set internal bool IsSetAccessAlternateDirectly() { return this._accessAlternateDirectly.HasValue; } /// /// Gets and sets the property AdditionalArchivedLogDestId. /// /// Set this attribute with ArchivedLogDestId in a primary/ standby setup. /// This attribute is useful in the case of a switchover. In this case, 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 DMS supports the use of the Oracle RESETLOGS option to open /// the database, never use RESETLOGS unless necessary. For additional information /// about RESETLOGS, see RMAN /// Data Repair Concepts in the Oracle Database Backup and Recovery User's Guide. /// /// public int AdditionalArchivedLogDestId { get { return this._additionalArchivedLogDestId.GetValueOrDefault(); } set { this._additionalArchivedLogDestId = value; } } // Check to see if AdditionalArchivedLogDestId property is set internal bool IsSetAdditionalArchivedLogDestId() { return this._additionalArchivedLogDestId.HasValue; } /// /// Gets and sets the property 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. /// /// public bool AddSupplementalLogging { get { return this._addSupplementalLogging.GetValueOrDefault(); } set { this._addSupplementalLogging = value; } } // Check to see if AddSupplementalLogging property is set internal bool IsSetAddSupplementalLogging() { return this._addSupplementalLogging.HasValue; } /// /// Gets and sets the property AllowSelectNestedTables. /// /// Set this attribute to true to enable replication of Oracle tables containing /// columns that are nested tables or defined types. /// /// public bool AllowSelectNestedTables { get { return this._allowSelectNestedTables.GetValueOrDefault(); } set { this._allowSelectNestedTables = value; } } // Check to see if AllowSelectNestedTables property is set internal bool IsSetAllowSelectNestedTables() { return this._allowSelectNestedTables.HasValue; } /// /// Gets and sets the property 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 the AdditionalArchivedLogDestId /// option to specify the additional destination ID. Doing this improves performance by /// ensuring that the correct logs are accessed from the outset. /// /// public int ArchivedLogDestId { get { return this._archivedLogDestId.GetValueOrDefault(); } set { this._archivedLogDestId = value; } } // Check to see if ArchivedLogDestId property is set internal bool IsSetArchivedLogDestId() { return this._archivedLogDestId.HasValue; } /// /// Gets and sets the property ArchivedLogsOnly. /// /// When this field is set to Y, DMS only accesses the archived redo logs. /// If the archived redo logs are stored on Automatic Storage Management (ASM) only, the /// DMS user account needs to be granted ASM privileges. /// /// public bool ArchivedLogsOnly { get { return this._archivedLogsOnly.GetValueOrDefault(); } set { this._archivedLogsOnly = value; } } // Check to see if ArchivedLogsOnly property is set internal bool IsSetArchivedLogsOnly() { return this._archivedLogsOnly.HasValue; } /// /// Gets and sets the property 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 the Password /// 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. /// /// [AWSProperty(Sensitive=true)] public string AsmPassword { get { return this._asmPassword; } set { this._asmPassword = value; } } // Check to see if AsmPassword property is set internal bool IsSetAsmPassword() { return this._asmPassword != null; } /// /// Gets and sets the property AsmServer. /// /// For an Oracle source endpoint, your ASM server address. You can set this value from /// the asm_server value. You set asm_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. /// /// public string AsmServer { get { return this._asmServer; } set { this._asmServer = value; } } // Check to see if AsmServer property is set internal bool IsSetAsmServer() { return this._asmServer != null; } /// /// Gets and sets the property AsmUser. /// /// For an Oracle source endpoint, your ASM user name. You can set this value from the /// asm_user value. You set asm_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. /// /// public string AsmUser { get { return this._asmUser; } set { this._asmUser = value; } } // Check to see if AsmUser property is set internal bool IsSetAsmUser() { return this._asmUser != null; } /// /// Gets and sets the property 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 to /// CHAR. Otherwise, the character column length is in bytes. /// /// /// /// Example: charLengthSemantics=CHAR; /// /// public CharLengthSemantics CharLengthSemantics { get { return this._charLengthSemantics; } set { this._charLengthSemantics = value; } } // Check to see if CharLengthSemantics property is set internal bool IsSetCharLengthSemantics() { return this._charLengthSemantics != null; } /// /// Gets and sets the property ConvertTimestampWithZoneToUTC. /// /// When true, converts timestamps with the timezone datatype to their UTC /// value. /// /// public bool ConvertTimestampWithZoneToUTC { get { return this._convertTimestampWithZoneToUTC.GetValueOrDefault(); } set { this._convertTimestampWithZoneToUTC = value; } } // Check to see if ConvertTimestampWithZoneToUTC property is set internal bool IsSetConvertTimestampWithZoneToUTC() { return this._convertTimestampWithZoneToUTC.HasValue; } /// /// Gets and sets the property DatabaseName. /// /// Database name for the endpoint. /// /// public string DatabaseName { get { return this._databaseName; } set { this._databaseName = value; } } // Check to see if DatabaseName property is set internal bool IsSetDatabaseName() { return this._databaseName != null; } /// /// Gets and sets the property DirectPathNoLog. /// /// When set to true, 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. /// /// public bool DirectPathNoLog { get { return this._directPathNoLog.GetValueOrDefault(); } set { this._directPathNoLog = value; } } // Check to see if DirectPathNoLog property is set internal bool IsSetDirectPathNoLog() { return this._directPathNoLog.HasValue; } /// /// Gets and sets the property DirectPathParallelLoad. /// /// When set to true, this attribute specifies a parallel load when useDirectPathFullLoad /// is set to Y. This attribute also only applies when you use the DMS parallel /// load feature. Note that the target table cannot have any constraints or indexes. /// /// public bool DirectPathParallelLoad { get { return this._directPathParallelLoad.GetValueOrDefault(); } set { this._directPathParallelLoad = value; } } // Check to see if DirectPathParallelLoad property is set internal bool IsSetDirectPathParallelLoad() { return this._directPathParallelLoad.HasValue; } /// /// Gets and sets the property EnableHomogenousTablespace. /// /// Set this attribute to enable homogenous tablespace replication and create existing /// tables or indexes under the same tablespace on the target. /// /// public bool EnableHomogenousTablespace { get { return this._enableHomogenousTablespace.GetValueOrDefault(); } set { this._enableHomogenousTablespace = value; } } // Check to see if EnableHomogenousTablespace property is set internal bool IsSetEnableHomogenousTablespace() { return this._enableHomogenousTablespace.HasValue; } /// /// Gets and sets the property ExtraArchivedLogDestIds. /// /// Specifies the IDs of one more destinations for one or more archived redo logs. These /// IDs are the values of the dest_id column in the v$archived_log /// view. Use this setting with the archivedLogDestId 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, DMS needs information about what destination to get archive /// redo logs from to read changes. 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 DMS supports the use of the Oracle RESETLOGS option to open /// the database, never use RESETLOGS unless it's necessary. For more information /// about RESETLOGS, see /// RMAN Data Repair Concepts in the Oracle Database Backup and Recovery User's /// Guide. /// /// public List ExtraArchivedLogDestIds { get { return this._extraArchivedLogDestIds; } set { this._extraArchivedLogDestIds = value; } } // Check to see if ExtraArchivedLogDestIds property is set internal bool IsSetExtraArchivedLogDestIds() { return this._extraArchivedLogDestIds != null && this._extraArchivedLogDestIds.Count > 0; } /// /// Gets and sets the property FailTasksOnLobTruncation. /// /// When set to true, this attribute causes a task to fail if the actual /// size of an LOB column is greater than the specified LobMaxSize. /// /// /// /// If a task is set to limited LOB mode and this option is set to true, /// the task fails instead of truncating the LOB data. /// /// public bool FailTasksOnLobTruncation { get { return this._failTasksOnLobTruncation.GetValueOrDefault(); } set { this._failTasksOnLobTruncation = value; } } // Check to see if FailTasksOnLobTruncation property is set internal bool IsSetFailTasksOnLobTruncation() { return this._failTasksOnLobTruncation.HasValue; } /// /// Gets and sets the property 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 /// /// public int NumberDatatypeScale { get { return this._numberDatatypeScale.GetValueOrDefault(); } set { this._numberDatatypeScale = value; } } // Check to see if NumberDatatypeScale property is set internal bool IsSetNumberDatatypeScale() { return this._numberDatatypeScale.HasValue; } /// /// Gets and sets the property OpenTransactionWindow. /// /// The timeframe in minutes to check for open transactions for a CDC-only task. /// /// /// /// You can specify an integer value between 0 (the default) and 240 (the maximum). /// /// /// /// This parameter is only valid in DMS version 3.5.0 and later. DMS supports a window /// of up to 9.5 hours including the value for OpenTransactionWindow. /// /// /// public int OpenTransactionWindow { get { return this._openTransactionWindow.GetValueOrDefault(); } set { this._openTransactionWindow = value; } } // Check to see if OpenTransactionWindow property is set internal bool IsSetOpenTransactionWindow() { return this._openTransactionWindow.HasValue; } /// /// Gets and sets the property 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. /// /// public string OraclePathPrefix { get { return this._oraclePathPrefix; } set { this._oraclePathPrefix = value; } } // Check to see if OraclePathPrefix property is set internal bool IsSetOraclePathPrefix() { return this._oraclePathPrefix != null; } /// /// Gets and sets the property 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 the readAheadBlocks attribute. /// /// public int ParallelAsmReadThreads { get { return this._parallelAsmReadThreads.GetValueOrDefault(); } set { this._parallelAsmReadThreads = value; } } // Check to see if ParallelAsmReadThreads property is set internal bool IsSetParallelAsmReadThreads() { return this._parallelAsmReadThreads.HasValue; } /// /// Gets and sets the property Password. /// /// Endpoint connection password. /// /// [AWSProperty(Sensitive=true)] public string Password { get { return this._password; } set { this._password = value; } } // Check to see if Password property is set internal bool IsSetPassword() { return this._password != null; } /// /// Gets and sets the property Port. /// /// Endpoint TCP port. /// /// public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// /// Gets and sets the property 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). /// /// public int ReadAheadBlocks { get { return this._readAheadBlocks.GetValueOrDefault(); } set { this._readAheadBlocks = value; } } // Check to see if ReadAheadBlocks property is set internal bool IsSetReadAheadBlocks() { return this._readAheadBlocks.HasValue; } /// /// Gets and sets the property ReadTableSpaceName. /// /// When set to true, this attribute supports tablespace replication. /// /// public bool ReadTableSpaceName { get { return this._readTableSpaceName.GetValueOrDefault(); } set { this._readTableSpaceName = value; } } // Check to see if ReadTableSpaceName property is set internal bool IsSetReadTableSpaceName() { return this._readTableSpaceName.HasValue; } /// /// Gets and sets the property 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 specified usePathPrefix setting to access /// the redo logs. /// /// public bool ReplacePathPrefix { get { return this._replacePathPrefix.GetValueOrDefault(); } set { this._replacePathPrefix = value; } } // Check to see if ReplacePathPrefix property is set internal bool IsSetReplacePathPrefix() { return this._replacePathPrefix.HasValue; } /// /// Gets and sets the property RetryInterval. /// /// Specifies the number of seconds that the system waits before resending a query. /// /// /// /// Example: retryInterval=6; /// /// public int RetryInterval { get { return this._retryInterval.GetValueOrDefault(); } set { this._retryInterval = value; } } // Check to see if RetryInterval property is set internal bool IsSetRetryInterval() { return this._retryInterval.HasValue; } /// /// Gets and sets the property 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 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 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 SecretsManagerAccessRoleArn { get { return this._secretsManagerAccessRoleArn; } set { this._secretsManagerAccessRoleArn = value; } } // Check to see if SecretsManagerAccessRoleArn property is set internal bool IsSetSecretsManagerAccessRoleArn() { return this._secretsManagerAccessRoleArn != null; } /// /// Gets and sets the property SecretsManagerOracleAsmAccessRoleArn. /// /// Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The /// full ARN of the IAM role that specifies DMS as the trusted entity and grants the required /// permissions to access the SecretsManagerOracleAsmSecret. This SecretsManagerOracleAsmSecret /// 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 for AsmUserName, AsmPassword, /// and AsmServerName. You can't specify both. For more information on creating /// this SecretsManagerOracleAsmSecret and the SecretsManagerOracleAsmAccessRoleArn /// and SecretsManagerOracleAsmSecretId required to access it, see Using /// secrets to access Database Migration Service resources in the Database Migration /// Service User Guide. /// /// /// public string SecretsManagerOracleAsmAccessRoleArn { get { return this._secretsManagerOracleAsmAccessRoleArn; } set { this._secretsManagerOracleAsmAccessRoleArn = value; } } // Check to see if SecretsManagerOracleAsmAccessRoleArn property is set internal bool IsSetSecretsManagerOracleAsmAccessRoleArn() { return this._secretsManagerOracleAsmAccessRoleArn != null; } /// /// Gets and sets the property SecretsManagerOracleAsmSecretId. /// /// Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The /// full ARN, partial ARN, or friendly name of the SecretsManagerOracleAsmSecret /// that contains the Oracle ASM connection details for the Oracle endpoint. /// /// public string SecretsManagerOracleAsmSecretId { get { return this._secretsManagerOracleAsmSecretId; } set { this._secretsManagerOracleAsmSecretId = value; } } // Check to see if SecretsManagerOracleAsmSecretId property is set internal bool IsSetSecretsManagerOracleAsmSecretId() { return this._secretsManagerOracleAsmSecretId != null; } /// /// Gets and sets the property SecretsManagerSecretId. /// /// The full ARN, partial ARN, or friendly name of the SecretsManagerSecret /// that contains the Oracle endpoint connection details. /// /// public string SecretsManagerSecretId { get { return this._secretsManagerSecretId; } set { this._secretsManagerSecretId = value; } } // Check to see if SecretsManagerSecretId property is set internal bool IsSetSecretsManagerSecretId() { return this._secretsManagerSecretId != null; } /// /// Gets and sets the property 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 the Password request parameter when you create the endpoint. The /// SecurityDbEncryptian setting is related to this SecurityDbEncryptionName /// setting. For more information, see /// Supported encryption methods for using Oracle as a source for DMS in the Database /// Migration Service User Guide. /// /// [AWSProperty(Sensitive=true)] public string SecurityDbEncryption { get { return this._securityDbEncryption; } set { this._securityDbEncryption = value; } } // Check to see if SecurityDbEncryption property is set internal bool IsSetSecurityDbEncryption() { return this._securityDbEncryption != null; } /// /// Gets and sets the property 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 the SecurityDbEncryption setting. /// For more information on setting the key name value of SecurityDbEncryptionName, /// see the information and example for setting the securityDbEncryptionName /// extra connection attribute in /// Supported encryption methods for using Oracle as a source for DMS in the Database /// Migration Service User Guide. /// /// public string SecurityDbEncryptionName { get { return this._securityDbEncryptionName; } set { this._securityDbEncryptionName = value; } } // Check to see if SecurityDbEncryptionName property is set internal bool IsSetSecurityDbEncryptionName() { return this._securityDbEncryptionName != null; } /// /// Gets and sets the property ServerName. /// /// Fully qualified domain name of the endpoint. /// /// /// /// For an Amazon RDS Oracle instance, this is the output of DescribeDBInstances, /// in the Endpoint.Address /// field. /// /// public string ServerName { get { return this._serverName; } set { this._serverName = value; } } // Check to see if ServerName property is set internal bool IsSetServerName() { return this._serverName != null; } /// /// Gets and sets the property SpatialDataOptionToGeoJsonFunctionName. /// /// Use this attribute to convert SDO_GEOMETRY to GEOJSON format. /// By default, DMS calls the SDO2GEOJSON custom function if present and /// accessible. Or you can create your own custom function that mimics the operation of /// SDOGEOJSON and set SpatialDataOptionToGeoJsonFunctionName /// to call it instead. /// /// public string SpatialDataOptionToGeoJsonFunctionName { get { return this._spatialDataOptionToGeoJsonFunctionName; } set { this._spatialDataOptionToGeoJsonFunctionName = value; } } // Check to see if SpatialDataOptionToGeoJsonFunctionName property is set internal bool IsSetSpatialDataOptionToGeoJsonFunctionName() { return this._spatialDataOptionToGeoJsonFunctionName != null; } /// /// Gets and sets the property 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 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. /// /// public int StandbyDelayTime { get { return this._standbyDelayTime.GetValueOrDefault(); } set { this._standbyDelayTime = value; } } // Check to see if StandbyDelayTime property is set internal bool IsSetStandbyDelayTime() { return this._standbyDelayTime.HasValue; } /// /// Gets and sets the property TrimSpaceInChar. /// /// Use the TrimSpaceInChar source endpoint setting to trim data on CHAR /// and NCHAR data types during migration. The default value is true. /// /// public bool TrimSpaceInChar { get { return this._trimSpaceInChar.GetValueOrDefault(); } set { this._trimSpaceInChar = value; } } // Check to see if TrimSpaceInChar property is set internal bool IsSetTrimSpaceInChar() { return this._trimSpaceInChar.HasValue; } /// /// Gets and sets the property UseAlternateFolderForOnline. /// /// 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 tells the DMS instance /// to use any specified prefix replacement to access all online redo logs. /// /// public bool UseAlternateFolderForOnline { get { return this._useAlternateFolderForOnline.GetValueOrDefault(); } set { this._useAlternateFolderForOnline = value; } } // Check to see if UseAlternateFolderForOnline property is set internal bool IsSetUseAlternateFolderForOnline() { return this._useAlternateFolderForOnline.HasValue; } /// /// Gets and sets the property UseBFile. /// /// Set this attribute to Y to capture change data using the Binary Reader utility. Set /// UseLogminerReader to N to set this attribute to Y. 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 DMS Binary Reader for CDC. /// /// public bool UseBFile { get { return this._useBFile.GetValueOrDefault(); } set { this._useBFile = value; } } // Check to see if UseBFile property is set internal bool IsSetUseBFile() { return this._useBFile.HasValue; } /// /// Gets and sets the property UseDirectPathFullLoad. /// /// Set this attribute to Y to have 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. /// /// public bool UseDirectPathFullLoad { get { return this._useDirectPathFullLoad.GetValueOrDefault(); } set { this._useDirectPathFullLoad = value; } } // Check to see if UseDirectPathFullLoad property is set internal bool IsSetUseDirectPathFullLoad() { return this._useDirectPathFullLoad.HasValue; } /// /// Gets and sets the property UseLogminerReader. /// /// Set this attribute to Y to capture change data using the Oracle LogMiner utility (the /// default). Set this attribute to N if you want to access the redo logs as a binary /// file. When you set UseLogminerReader to N, also set UseBfile /// to Y. For more information on this setting and using Oracle ASM, see /// Using Oracle LogMiner or DMS Binary Reader for CDC in the DMS User Guide. /// /// public bool UseLogminerReader { get { return this._useLogminerReader.GetValueOrDefault(); } set { this._useLogminerReader = value; } } // Check to see if UseLogminerReader property is set internal bool IsSetUseLogminerReader() { return this._useLogminerReader.HasValue; } /// /// Gets and sets the property 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. /// /// public string UsePathPrefix { get { return this._usePathPrefix; } set { this._usePathPrefix = value; } } // Check to see if UsePathPrefix property is set internal bool IsSetUsePathPrefix() { return this._usePathPrefix != null; } /// /// Gets and sets the property Username. /// /// Endpoint connection user name. /// /// public string Username { get { return this._username; } set { this._username = value; } } // Check to see if Username property is set internal bool IsSetUsername() { return this._username != null; } } }