Class ReplicationTask

    • Constructor Detail

      • ReplicationTask

        public ReplicationTask()
    • Method Detail

      • 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:
        MigrationTypeValue
      • getMigrationType

        public String getMigrationType()

        The type of migration.

        Returns:
        The type of migration.
        See Also:
        MigrationTypeValue
      • 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:
        MigrationTypeValue
      • setMigrationType

        public void setMigrationType​(MigrationTypeValue migrationType)

        The type of migration.

        Parameters:
        migrationType - The type of migration.
        See Also:
        MigrationTypeValue
      • 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:
        MigrationTypeValue
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object