Interface Replication.Builder

    • Method Detail

      • replicationConfigIdentifier

        Replication.Builder replicationConfigIdentifier​(String replicationConfigIdentifier)

        The identifier for the ReplicationConfig associated with the replication.

        Parameters:
        replicationConfigIdentifier - The identifier for the ReplicationConfig associated with the replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationConfigArn

        Replication.Builder replicationConfigArn​(String replicationConfigArn)

        The Amazon Resource Name for the ReplicationConfig associated with the replication.

        Parameters:
        replicationConfigArn - The Amazon Resource Name for the ReplicationConfig associated with the replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceEndpointArn

        Replication.Builder sourceEndpointArn​(String sourceEndpointArn)

        The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data source.

        Parameters:
        sourceEndpointArn - The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetEndpointArn

        Replication.Builder targetEndpointArn​(String targetEndpointArn)

        The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data target.

        Parameters:
        targetEndpointArn - The Amazon Resource Name for an existing Endpoint the serverless replication uses for its data target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationType

        Replication.Builder replicationType​(String replicationType)

        The type of the serverless replication.

        Parameters:
        replicationType - The type of the serverless replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MigrationTypeValue, MigrationTypeValue
      • status

        Replication.Builder status​(String status)

        The current status of the serverless replication.

        Parameters:
        status - The current status of the serverless replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisionData

        Replication.Builder provisionData​(ProvisionData provisionData)

        Information about provisioning resources for an DMS serverless replication.

        Parameters:
        provisionData - Information about provisioning resources for an DMS serverless replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stopReason

        Replication.Builder stopReason​(String 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"

        Parameters:
        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"

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

        Replication.Builder failureMessages​(Collection<String> failureMessages)

        Error and other information about why a serverless replication failed.

        Parameters:
        failureMessages - Error and other information about why a serverless replication failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureMessages

        Replication.Builder failureMessages​(String... failureMessages)

        Error and other information about why a serverless replication failed.

        Parameters:
        failureMessages - Error and other information about why a serverless replication failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationStats

        Replication.Builder replicationStats​(ReplicationStats replicationStats)

        This object provides a collection of statistics about a serverless replication.

        Parameters:
        replicationStats - This object provides a collection of statistics about a serverless replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startReplicationType

        Replication.Builder startReplicationType​(String startReplicationType)

        The replication type.

        Parameters:
        startReplicationType - The replication type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cdcStartTime

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

        Replication.Builder cdcStartPosition​(String 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.

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

        Replication.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.
      • recoveryCheckpoint

        Replication.Builder recoveryCheckpoint​(String 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.

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

        Replication.Builder replicationCreateTime​(Instant replicationCreateTime)

        The time the serverless replication was created.

        Parameters:
        replicationCreateTime - The time the serverless replication was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationUpdateTime

        Replication.Builder replicationUpdateTime​(Instant replicationUpdateTime)

        The time the serverless replication was updated.

        Parameters:
        replicationUpdateTime - The time the serverless replication was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationLastStopTime

        Replication.Builder replicationLastStopTime​(Instant replicationLastStopTime)

        The timestamp when replication was last stopped.

        Parameters:
        replicationLastStopTime - The timestamp when replication was last stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationDeprovisionTime

        Replication.Builder replicationDeprovisionTime​(Instant replicationDeprovisionTime)

        The timestamp when DMS will deprovision the replication.

        Parameters:
        replicationDeprovisionTime - The timestamp when DMS will deprovision the replication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.