/* * Copyright 2018-2023 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. */ package com.amazonaws.services.databasemigrationservice.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides information that describes a replication task created by the CreateReplicationTask operation. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ReplicationTask implements Serializable, Cloneable, StructuredPojo { /** *

* The user-assigned replication task identifier or name. *

*

* Constraints: *

* */ private String replicationTaskIdentifier; /** *

* The Amazon Resource Name (ARN) that uniquely identifies the endpoint. *

*/ private String sourceEndpointArn; /** *

* The ARN that uniquely identifies the endpoint. *

*/ private String targetEndpointArn; /** *

* The ARN of the replication instance. *

*/ private String replicationInstanceArn; /** *

* The type of migration. *

*/ private String migrationType; /** *

* Table mappings specified in the task. *

*/ private String tableMappings; /** *

* The settings for the replication task. *

*/ private String replicationTaskSettings; /** *

* The status of the replication task. This response parameter can return one of the following values: *

* */ private String status; /** *

* The last error (failure) message generated for the replication task. *

*/ private String lastFailureMessage; /** *

* The reason the replication task was stopped. This response parameter can return one of the following values: *

* */ private String stopReason; /** *

* The date the replication task was created. *

*/ private java.util.Date replicationTaskCreationDate; /** *

* The date the replication task is scheduled to start. *

*/ private java.util.Date replicationTaskStartDate; /** *

* Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition * or CdcStartTime to specify when you want the CDC operation to start. Specifying both values results * in an error. *

*

* The value can be in date, checkpoint, or LSN/SCN format. *

*

* Date Example: --cdc-start-position “2018-03-08T12:12:12” *

*

* Checkpoint Example: --cdc-start-position * "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93" *

*

* LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373” *

*/ private String cdcStartPosition; /** *

* Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or * commit time. *

*

* Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12” *

*

* Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12“ *

*/ private String cdcStopPosition; /** *

* 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. *

*/ private String recoveryCheckpoint; /** *

* The Amazon Resource Name (ARN) of the replication task. *

*/ private String replicationTaskArn; /** *

* The statistics for the task, including elapsed time, tables loaded, and table errors. *

*/ private ReplicationTaskStats replicationTaskStats; /** *

* Supplemental information that the task requires to migrate the data for certain source and target endpoints. For * more information, see Specifying Supplemental Data for * Task Settings in the Database Migration Service User Guide. *

*/ private String taskData; /** *

* The ARN of the replication instance to which this task is moved in response to running the * MoveReplicationTask operation. Otherwise, this response parameter isn't a member of the * ReplicationTask object. *

*/ private String targetReplicationInstanceArn; /** *

* The user-assigned replication task identifier or name. *

*

* Constraints: *

* * * @param replicationTaskIdentifier * The user-assigned replication task identifier or name.

*

* Constraints: *

*