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