Class ReplicationTask
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.ReplicationTask
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ReplicationTask extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicationTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationTaskclone()booleanequals(Object obj)StringgetLastFailureMessage()The last error (failure) message generated for the replication instance.StringgetMigrationType()The type of migration.StringgetReplicationInstanceArn()The Amazon Resource Name (ARN) of the replication instance.StringgetReplicationTaskArn()The Amazon Resource Name (ARN) of the replication task.DategetReplicationTaskCreationDate()The date the replication task was created.StringgetReplicationTaskIdentifier()The replication task identifier.StringgetReplicationTaskSettings()The settings for the replication task.DategetReplicationTaskStartDate()The date the replication task is scheduled to start.ReplicationTaskStatsgetReplicationTaskStats()The statistics for the task, including elapsed time, tables loaded, and table errors.StringgetSourceEndpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringgetStatus()The status of the replication task.StringgetTableMappings()Table mappings specified in the task.StringgetTargetEndpointArn()The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.inthashCode()voidsetLastFailureMessage(String lastFailureMessage)The last error (failure) message generated for the replication instance.voidsetMigrationType(MigrationTypeValue migrationType)The type of migration.voidsetMigrationType(String migrationType)The type of migration.voidsetReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.voidsetReplicationTaskArn(String replicationTaskArn)The Amazon Resource Name (ARN) of the replication task.voidsetReplicationTaskCreationDate(Date replicationTaskCreationDate)The date the replication task was created.voidsetReplicationTaskIdentifier(String replicationTaskIdentifier)The replication task identifier.voidsetReplicationTaskSettings(String replicationTaskSettings)The settings for the replication task.voidsetReplicationTaskStartDate(Date replicationTaskStartDate)The date the replication task is scheduled to start.voidsetReplicationTaskStats(ReplicationTaskStats replicationTaskStats)The statistics for the task, including elapsed time, tables loaded, and table errors.voidsetSourceEndpointArn(String sourceEndpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.voidsetStatus(String status)The status of the replication task.voidsetTableMappings(String tableMappings)Table mappings specified in the task.voidsetTargetEndpointArn(String targetEndpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.StringtoString()Returns a string representation of this object; useful for testing and debugging.ReplicationTaskwithLastFailureMessage(String lastFailureMessage)The last error (failure) message generated for the replication instance.ReplicationTaskwithMigrationType(MigrationTypeValue migrationType)The type of migration.ReplicationTaskwithMigrationType(String migrationType)The type of migration.ReplicationTaskwithReplicationInstanceArn(String replicationInstanceArn)The Amazon Resource Name (ARN) of the replication instance.ReplicationTaskwithReplicationTaskArn(String replicationTaskArn)The Amazon Resource Name (ARN) of the replication task.ReplicationTaskwithReplicationTaskCreationDate(Date replicationTaskCreationDate)The date the replication task was created.ReplicationTaskwithReplicationTaskIdentifier(String replicationTaskIdentifier)The replication task identifier.ReplicationTaskwithReplicationTaskSettings(String replicationTaskSettings)The settings for the replication task.ReplicationTaskwithReplicationTaskStartDate(Date replicationTaskStartDate)The date the replication task is scheduled to start.ReplicationTaskwithReplicationTaskStats(ReplicationTaskStats replicationTaskStats)The statistics for the task, including elapsed time, tables loaded, and table errors.ReplicationTaskwithSourceEndpointArn(String sourceEndpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.ReplicationTaskwithStatus(String status)The status of the replication task.ReplicationTaskwithTableMappings(String tableMappings)Table mappings specified in the task.ReplicationTaskwithTargetEndpointArn(String targetEndpointArn)The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
-
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReplicationTask clone()
-
-