/* * 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 describes a serverless replication created by the CreateReplication /// operation. /// public partial class Replication { private string _cdcStartPosition; private DateTime? _cdcStartTime; private string _cdcStopPosition; private List _failureMessages = new List(); private ProvisionData _provisionData; private string _recoveryCheckpoint; private string _replicationConfigArn; private string _replicationConfigIdentifier; private DateTime? _replicationCreateTime; private DateTime? _replicationLastStopTime; private ReplicationStats _replicationStats; private MigrationTypeValue _replicationType; private DateTime? _replicationUpdateTime; private string _sourceEndpointArn; private string _startReplicationType; private string _status; private string _stopReason; private string _targetEndpointArn; /// /// Gets and sets the property CdcStartPosition. /// /// Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime /// or CdcStartPosition to specify when you want a CDC operation to start. /// Specifying both values results in an error. /// /// public string CdcStartPosition { get { return this._cdcStartPosition; } set { this._cdcStartPosition = value; } } // Check to see if CdcStartPosition property is set internal bool IsSetCdcStartPosition() { return this._cdcStartPosition != null; } /// /// Gets and sets the property CdcStartTime. /// /// Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime /// or CdcStartPosition to specify when you want a CDC operation to start. /// Specifying both values results in an error. /// /// public DateTime CdcStartTime { get { return this._cdcStartTime.GetValueOrDefault(); } set { this._cdcStartTime = value; } } // Check to see if CdcStartTime property is set internal bool IsSetCdcStartTime() { return this._cdcStartTime.HasValue; } /// /// Gets and sets the property CdcStopPosition. /// /// Indicates when you want a change data capture (CDC) operation to stop. The value can /// be either server time or commit time. /// /// public string CdcStopPosition { get { return this._cdcStopPosition; } set { this._cdcStopPosition = value; } } // Check to see if CdcStopPosition property is set internal bool IsSetCdcStopPosition() { return this._cdcStopPosition != null; } /// /// Gets and sets the property FailureMessages. /// /// Error and other information about why a serverless replication failed. /// /// public List FailureMessages { get { return this._failureMessages; } set { this._failureMessages = value; } } // Check to see if FailureMessages property is set internal bool IsSetFailureMessages() { return this._failureMessages != null && this._failureMessages.Count > 0; } /// /// Gets and sets the property ProvisionData. /// /// Information about provisioning resources for an DMS serverless replication. /// /// public ProvisionData ProvisionData { get { return this._provisionData; } set { this._provisionData = value; } } // Check to see if ProvisionData property is set internal bool IsSetProvisionData() { return this._provisionData != null; } /// /// Gets and sets the property RecoveryCheckpoint. /// /// Indicates the last checkpoint that occurred during a change data capture (CDC) operation. /// You can provide this value to the CdcStartPosition parameter to start /// a CDC operation that begins at that checkpoint. /// /// public string RecoveryCheckpoint { get { return this._recoveryCheckpoint; } set { this._recoveryCheckpoint = value; } } // Check to see if RecoveryCheckpoint property is set internal bool IsSetRecoveryCheckpoint() { return this._recoveryCheckpoint != null; } /// /// Gets and sets the property ReplicationConfigArn. /// /// The Amazon Resource Name for the ReplicationConfig associated with the /// replication. /// /// public string ReplicationConfigArn { get { return this._replicationConfigArn; } set { this._replicationConfigArn = value; } } // Check to see if ReplicationConfigArn property is set internal bool IsSetReplicationConfigArn() { return this._replicationConfigArn != null; } /// /// Gets and sets the property ReplicationConfigIdentifier. /// /// The identifier for the ReplicationConfig associated with the replication. /// /// public string ReplicationConfigIdentifier { get { return this._replicationConfigIdentifier; } set { this._replicationConfigIdentifier = value; } } // Check to see if ReplicationConfigIdentifier property is set internal bool IsSetReplicationConfigIdentifier() { return this._replicationConfigIdentifier != null; } /// /// Gets and sets the property ReplicationCreateTime. /// /// The time the serverless replication was created. /// /// public DateTime ReplicationCreateTime { get { return this._replicationCreateTime.GetValueOrDefault(); } set { this._replicationCreateTime = value; } } // Check to see if ReplicationCreateTime property is set internal bool IsSetReplicationCreateTime() { return this._replicationCreateTime.HasValue; } /// /// Gets and sets the property ReplicationLastStopTime. /// /// The timestamp when replication was last stopped. /// /// public DateTime ReplicationLastStopTime { get { return this._replicationLastStopTime.GetValueOrDefault(); } set { this._replicationLastStopTime = value; } } // Check to see if ReplicationLastStopTime property is set internal bool IsSetReplicationLastStopTime() { return this._replicationLastStopTime.HasValue; } /// /// Gets and sets the property ReplicationStats. /// /// This object provides a collection of statistics about a serverless replication. /// /// public ReplicationStats ReplicationStats { get { return this._replicationStats; } set { this._replicationStats = value; } } // Check to see if ReplicationStats property is set internal bool IsSetReplicationStats() { return this._replicationStats != null; } /// /// Gets and sets the property ReplicationType. /// /// The type of the serverless replication. /// /// public MigrationTypeValue ReplicationType { get { return this._replicationType; } set { this._replicationType = value; } } // Check to see if ReplicationType property is set internal bool IsSetReplicationType() { return this._replicationType != null; } /// /// Gets and sets the property ReplicationUpdateTime. /// /// The time the serverless replication was updated. /// /// public DateTime ReplicationUpdateTime { get { return this._replicationUpdateTime.GetValueOrDefault(); } set { this._replicationUpdateTime = value; } } // Check to see if ReplicationUpdateTime property is set internal bool IsSetReplicationUpdateTime() { return this._replicationUpdateTime.HasValue; } /// /// Gets and sets the property SourceEndpointArn. /// /// The Amazon Resource Name for an existing Endpoint the serverless replication /// uses for its data source. /// /// public string SourceEndpointArn { get { return this._sourceEndpointArn; } set { this._sourceEndpointArn = value; } } // Check to see if SourceEndpointArn property is set internal bool IsSetSourceEndpointArn() { return this._sourceEndpointArn != null; } /// /// Gets and sets the property StartReplicationType. /// /// The replication type. /// /// public string StartReplicationType { get { return this._startReplicationType; } set { this._startReplicationType = value; } } // Check to see if StartReplicationType property is set internal bool IsSetStartReplicationType() { return this._startReplicationType != null; } /// /// Gets and sets the property Status. /// /// The current status of the serverless replication. /// /// public string Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StopReason. /// /// The reason the replication task was stopped. This response parameter can return one /// of the following values: /// ///
  • /// /// "Stop Reason NORMAL" /// ///
  • /// /// "Stop Reason RECOVERABLE_ERROR" /// ///
  • /// /// "Stop Reason FATAL_ERROR" /// ///
  • /// /// "Stop Reason FULL_LOAD_ONLY_FINISHED" /// ///
  • /// /// "Stop Reason STOPPED_AFTER_FULL_LOAD" – Full load completed, with cached /// changes not applied /// ///
  • /// /// "Stop Reason STOPPED_AFTER_CACHED_EVENTS" – Full load completed, with /// cached changes applied /// ///
  • /// /// "Stop Reason EXPRESS_LICENSE_LIMITS_REACHED" /// ///
  • /// /// "Stop Reason STOPPED_AFTER_DDL_APPLY" – User-defined stop task after /// DDL applied /// ///
  • /// /// "Stop Reason STOPPED_DUE_TO_LOW_MEMORY" /// ///
  • /// /// "Stop Reason STOPPED_DUE_TO_LOW_DISK" /// ///
  • /// /// "Stop Reason STOPPED_AT_SERVER_TIME" – User-defined server time for /// stopping task /// ///
  • /// /// "Stop Reason STOPPED_AT_COMMIT_TIME" – User-defined commit time for /// stopping task /// ///
  • /// /// "Stop Reason RECONFIGURATION_RESTART" /// ///
  • /// /// "Stop Reason RECYCLE_TASK" /// ///
///
public string StopReason { get { return this._stopReason; } set { this._stopReason = value; } } // Check to see if StopReason property is set internal bool IsSetStopReason() { return this._stopReason != null; } /// /// Gets and sets the property TargetEndpointArn. /// /// The Amazon Resource Name for an existing Endpoint the serverless replication /// uses for its data target. /// /// public string TargetEndpointArn { get { return this._targetEndpointArn; } set { this._targetEndpointArn = value; } } // Check to see if TargetEndpointArn property is set internal bool IsSetTargetEndpointArn() { return this._targetEndpointArn != null; } } }