java.lang.Object
com.amazonaws.services.databasemigrationservice.model.ReplicationTask
All Implemented Interfaces:
Serializable, Cloneable

public class ReplicationTask extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ReplicationTask

      public ReplicationTask()
  • Method Details

    • setReplicationTaskIdentifier

      public void setReplicationTaskIdentifier(String replicationTaskIdentifier)

      The replication task identifier.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.
      Parameters:
      replicationTaskIdentifier - The replication task identifier.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.
    • getReplicationTaskIdentifier

      public String getReplicationTaskIdentifier()

      The replication task identifier.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.
      Returns:
      The replication task identifier.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.
    • withReplicationTaskIdentifier

      public ReplicationTask withReplicationTaskIdentifier(String replicationTaskIdentifier)

      The replication task identifier.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.
      Parameters:
      replicationTaskIdentifier - The replication task identifier.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSourceEndpointArn

      public void setSourceEndpointArn(String sourceEndpointArn)

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

      Parameters:
      sourceEndpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
    • getSourceEndpointArn

      public String getSourceEndpointArn()

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

      Returns:
      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
    • withSourceEndpointArn

      public ReplicationTask withSourceEndpointArn(String sourceEndpointArn)

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

      Parameters:
      sourceEndpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTargetEndpointArn

      public void setTargetEndpointArn(String targetEndpointArn)

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

      Parameters:
      targetEndpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
    • getTargetEndpointArn

      public String getTargetEndpointArn()

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

      Returns:
      The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
    • withTargetEndpointArn

      public ReplicationTask withTargetEndpointArn(String targetEndpointArn)

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

      Parameters:
      targetEndpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationInstanceArn

      public void setReplicationInstanceArn(String replicationInstanceArn)

      The Amazon Resource Name (ARN) of the replication instance.

      Parameters:
      replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
    • getReplicationInstanceArn

      public String getReplicationInstanceArn()

      The Amazon Resource Name (ARN) of the replication instance.

      Returns:
      The Amazon Resource Name (ARN) of the replication instance.
    • withReplicationInstanceArn

      public ReplicationTask withReplicationInstanceArn(String replicationInstanceArn)

      The Amazon Resource Name (ARN) of the replication instance.

      Parameters:
      replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMigrationType

      public void setMigrationType(String migrationType)

      The type of migration.

      Parameters:
      migrationType - The type of migration.
      See Also:
    • getMigrationType

      public String getMigrationType()

      The type of migration.

      Returns:
      The type of migration.
      See Also:
    • withMigrationType

      public ReplicationTask withMigrationType(String migrationType)

      The type of migration.

      Parameters:
      migrationType - The type of migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setMigrationType

      public void setMigrationType(MigrationTypeValue migrationType)

      The type of migration.

      Parameters:
      migrationType - The type of migration.
      See Also:
    • withMigrationType

      public ReplicationTask withMigrationType(MigrationTypeValue migrationType)

      The type of migration.

      Parameters:
      migrationType - The type of migration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setTableMappings

      public void setTableMappings(String tableMappings)

      Table mappings specified in the task.

      Parameters:
      tableMappings - Table mappings specified in the task.
    • getTableMappings

      public String getTableMappings()

      Table mappings specified in the task.

      Returns:
      Table mappings specified in the task.
    • withTableMappings

      public ReplicationTask withTableMappings(String tableMappings)

      Table mappings specified in the task.

      Parameters:
      tableMappings - Table mappings specified in the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationTaskSettings

      public void setReplicationTaskSettings(String replicationTaskSettings)

      The settings for the replication task.

      Parameters:
      replicationTaskSettings - The settings for the replication task.
    • getReplicationTaskSettings

      public String getReplicationTaskSettings()

      The settings for the replication task.

      Returns:
      The settings for the replication task.
    • withReplicationTaskSettings

      public ReplicationTask withReplicationTaskSettings(String replicationTaskSettings)

      The settings for the replication task.

      Parameters:
      replicationTaskSettings - The settings for the replication task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The status of the replication task.

      Parameters:
      status - The status of the replication task.
    • getStatus

      public String getStatus()

      The status of the replication task.

      Returns:
      The status of the replication task.
    • withStatus

      public ReplicationTask withStatus(String status)

      The status of the replication task.

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

      public void setLastFailureMessage(String lastFailureMessage)

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

      Parameters:
      lastFailureMessage - The last error (failure) message generated for the replication instance.
    • getLastFailureMessage

      public String getLastFailureMessage()

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

      Returns:
      The last error (failure) message generated for the replication instance.
    • withLastFailureMessage

      public ReplicationTask withLastFailureMessage(String lastFailureMessage)

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

      Parameters:
      lastFailureMessage - The last error (failure) message generated for the replication instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationTaskCreationDate

      public void setReplicationTaskCreationDate(Date replicationTaskCreationDate)

      The date the replication task was created.

      Parameters:
      replicationTaskCreationDate - The date the replication task was created.
    • getReplicationTaskCreationDate

      public Date getReplicationTaskCreationDate()

      The date the replication task was created.

      Returns:
      The date the replication task was created.
    • withReplicationTaskCreationDate

      public ReplicationTask withReplicationTaskCreationDate(Date replicationTaskCreationDate)

      The date the replication task was created.

      Parameters:
      replicationTaskCreationDate - The date the replication task was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationTaskStartDate

      public void setReplicationTaskStartDate(Date replicationTaskStartDate)

      The date the replication task is scheduled to start.

      Parameters:
      replicationTaskStartDate - The date the replication task is scheduled to start.
    • getReplicationTaskStartDate

      public Date getReplicationTaskStartDate()

      The date the replication task is scheduled to start.

      Returns:
      The date the replication task is scheduled to start.
    • withReplicationTaskStartDate

      public ReplicationTask withReplicationTaskStartDate(Date replicationTaskStartDate)

      The date the replication task is scheduled to start.

      Parameters:
      replicationTaskStartDate - The date the replication task is scheduled to start.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationTaskArn

      public void setReplicationTaskArn(String replicationTaskArn)

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

      Parameters:
      replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.
    • getReplicationTaskArn

      public String getReplicationTaskArn()

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

      Returns:
      The Amazon Resource Name (ARN) of the replication task.
    • withReplicationTaskArn

      public ReplicationTask withReplicationTaskArn(String replicationTaskArn)

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

      Parameters:
      replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationTaskStats

      public void setReplicationTaskStats(ReplicationTaskStats replicationTaskStats)

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

      Parameters:
      replicationTaskStats - The statistics for the task, including elapsed time, tables loaded, and table errors.
    • getReplicationTaskStats

      public ReplicationTaskStats getReplicationTaskStats()

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

      Returns:
      The statistics for the task, including elapsed time, tables loaded, and table errors.
    • withReplicationTaskStats

      public ReplicationTask withReplicationTaskStats(ReplicationTaskStats replicationTaskStats)

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

      Parameters:
      replicationTaskStats - The statistics for the task, including elapsed time, tables loaded, and table errors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ReplicationTask clone()
      Overrides:
      clone in class Object