Class ReplicationTask
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The last error (failure) message generated for the replication instance.The type of migration.The Amazon Resource Name (ARN) of the replication instance.The Amazon Resource Name (ARN) of the replication task.The date the replication task was created.The replication task identifier.The settings for the replication task.The date the replication task is scheduled to start.The statistics for the task, including elapsed time, tables loaded, and table errors.The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.The status of the replication task.Table mappings specified in the task.The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.int
hashCode()
void
setLastFailureMessage
(String lastFailureMessage) The last error (failure) message generated for the replication instance.void
setMigrationType
(MigrationTypeValue migrationType) The type of migration.void
setMigrationType
(String migrationType) The type of migration.void
setReplicationInstanceArn
(String replicationInstanceArn) The Amazon Resource Name (ARN) of the replication instance.void
setReplicationTaskArn
(String replicationTaskArn) The Amazon Resource Name (ARN) of the replication task.void
setReplicationTaskCreationDate
(Date replicationTaskCreationDate) The date the replication task was created.void
setReplicationTaskIdentifier
(String replicationTaskIdentifier) The replication task identifier.void
setReplicationTaskSettings
(String replicationTaskSettings) The settings for the replication task.void
setReplicationTaskStartDate
(Date replicationTaskStartDate) The date the replication task is scheduled to start.void
setReplicationTaskStats
(ReplicationTaskStats replicationTaskStats) The statistics for the task, including elapsed time, tables loaded, and table errors.void
setSourceEndpointArn
(String sourceEndpointArn) The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.void
The status of the replication task.void
setTableMappings
(String tableMappings) Table mappings specified in the task.void
setTargetEndpointArn
(String targetEndpointArn) The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.toString()
Returns a string representation of this object; useful for testing and debugging.withLastFailureMessage
(String lastFailureMessage) The last error (failure) message generated for the replication instance.withMigrationType
(MigrationTypeValue migrationType) The type of migration.withMigrationType
(String migrationType) The type of migration.withReplicationInstanceArn
(String replicationInstanceArn) The Amazon Resource Name (ARN) of the replication instance.withReplicationTaskArn
(String replicationTaskArn) The Amazon Resource Name (ARN) of the replication task.withReplicationTaskCreationDate
(Date replicationTaskCreationDate) The date the replication task was created.withReplicationTaskIdentifier
(String replicationTaskIdentifier) The replication task identifier.withReplicationTaskSettings
(String replicationTaskSettings) The settings for the replication task.withReplicationTaskStartDate
(Date replicationTaskStartDate) The date the replication task is scheduled to start.withReplicationTaskStats
(ReplicationTaskStats replicationTaskStats) The statistics for the task, including elapsed time, tables loaded, and table errors.withSourceEndpointArn
(String sourceEndpointArn) The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.withStatus
(String status) The status of the replication task.withTableMappings
(String tableMappings) Table mappings specified in the task.withTargetEndpointArn
(String targetEndpointArn) The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
Constructor Details
-
ReplicationTask
public ReplicationTask()
-
-
Method Details
-
setReplicationTaskIdentifier
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
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
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
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
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
withSourceEndpointArn
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
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
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
- Returns:
- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
withTargetEndpointArn
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
The Amazon Resource Name (ARN) of the replication instance.
- Parameters:
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.
-
getReplicationInstanceArn
The Amazon Resource Name (ARN) of the replication instance.
- Returns:
- The Amazon Resource Name (ARN) of the replication instance.
-
withReplicationInstanceArn
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
The type of migration.
- Parameters:
migrationType
- The type of migration.- See Also:
-
getMigrationType
The type of migration.
- Returns:
- The type of migration.
- See Also:
-
withMigrationType
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
The type of migration.
- Parameters:
migrationType
- The type of migration.- See Also:
-
withMigrationType
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
Table mappings specified in the task.
- Parameters:
tableMappings
- Table mappings specified in the task.
-
getTableMappings
Table mappings specified in the task.
- Returns:
- Table mappings specified in the task.
-
withTableMappings
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
The settings for the replication task.
- Parameters:
replicationTaskSettings
- The settings for the replication task.
-
getReplicationTaskSettings
The settings for the replication task.
- Returns:
- The settings for the replication task.
-
withReplicationTaskSettings
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
The status of the replication task.
- Parameters:
status
- The status of the replication task.
-
getStatus
The status of the replication task.
- Returns:
- The status of the replication task.
-
withStatus
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
The last error (failure) message generated for the replication instance.
- Parameters:
lastFailureMessage
- The last error (failure) message generated for the replication instance.
-
getLastFailureMessage
The last error (failure) message generated for the replication instance.
- Returns:
- The last error (failure) message generated for the replication instance.
-
withLastFailureMessage
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
The date the replication task was created.
- Parameters:
replicationTaskCreationDate
- The date the replication task was created.
-
getReplicationTaskCreationDate
The date the replication task was created.
- Returns:
- The date the replication task was created.
-
withReplicationTaskCreationDate
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
The date the replication task is scheduled to start.
- Parameters:
replicationTaskStartDate
- The date the replication task is scheduled to start.
-
getReplicationTaskStartDate
The date the replication task is scheduled to start.
- Returns:
- The date the replication task is scheduled to start.
-
withReplicationTaskStartDate
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
The Amazon Resource Name (ARN) of the replication task.
- Parameters:
replicationTaskArn
- The Amazon Resource Name (ARN) of the replication task.
-
getReplicationTaskArn
The Amazon Resource Name (ARN) of the replication task.
- Returns:
- The Amazon Resource Name (ARN) of the replication task.
-
withReplicationTaskArn
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-