Interface StartReplicationRequest.Builder

    • Method Detail

      • replicationConfigArn

        StartReplicationRequest.Builder replicationConfigArn​(String replicationConfigArn)

        The Amazon Resource Name of the replication for which to start replication.

        Parameters:
        replicationConfigArn - The Amazon Resource Name of the replication for which to start replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startReplicationType

        StartReplicationRequest.Builder startReplicationType​(String startReplicationType)

        The replication type.

        When the replication type is full-load or full-load-and-cdc, the only valid value for the first run of the replication is start-replication. This option will start the replication.

        You can also use ReloadTables to reload specific tables that failed during replication instead of restarting the replication.

        The resume-processing option isn't applicable for a full-load replication, because you can't resume partially loaded tables during the full load phase.

        For a full-load-and-cdc replication, DMS migrates table data, and then applies data changes that occur on the source. To load all the tables again, and start capturing source changes, use reload-target. Otherwise use resume-processing, to replicate the changes from the last stop position.

        Parameters:
        startReplicationType - The replication type.

        When the replication type is full-load or full-load-and-cdc, the only valid value for the first run of the replication is start-replication. This option will start the replication.

        You can also use ReloadTables to reload specific tables that failed during replication instead of restarting the replication.

        The resume-processing option isn't applicable for a full-load replication, because you can't resume partially loaded tables during the full load phase.

        For a full-load-and-cdc replication, DMS migrates table data, and then applies data changes that occur on the source. To load all the tables again, and start capturing source changes, use reload-target. Otherwise use resume-processing, to replicate the changes from the last stop position.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cdcStartTime

        StartReplicationRequest.Builder cdcStartTime​(Instant 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cdcStartPosition

        StartReplicationRequest.Builder cdcStartPosition​(String cdcStartPosition)

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

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

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

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cdcStopPosition

        StartReplicationRequest.Builder cdcStopPosition​(String cdcStopPosition)

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

        Parameters:
        cdcStopPosition - Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.