public class ReplicationTask extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ReplicationTask() |
Modifier and Type | Method and Description |
---|---|
ReplicationTask |
clone() |
boolean |
equals(Object obj) |
String |
getLastFailureMessage()
The last error (failure) message generated for the replication instance.
|
String |
getMigrationType()
The type of migration.
|
String |
getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
|
String |
getReplicationTaskArn()
The Amazon Resource Name (ARN) of the replication task.
|
Date |
getReplicationTaskCreationDate()
The date the replication task was created.
|
String |
getReplicationTaskIdentifier()
The replication task identifier.
|
String |
getReplicationTaskSettings()
The settings for the replication task.
|
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.
|
String |
getSourceEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
String |
getStatus()
The status of the replication task.
|
String |
getTableMappings()
Table mappings specified in the task.
|
String |
getTargetEndpointArn()
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 |
setStatus(String status)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicationTask |
withLastFailureMessage(String lastFailureMessage)
The last error (failure) message generated for the replication instance.
|
ReplicationTask |
withMigrationType(MigrationTypeValue migrationType)
The type of migration.
|
ReplicationTask |
withMigrationType(String migrationType)
The type of migration.
|
ReplicationTask |
withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
|
ReplicationTask |
withReplicationTaskArn(String replicationTaskArn)
The Amazon Resource Name (ARN) of the replication task.
|
ReplicationTask |
withReplicationTaskCreationDate(Date replicationTaskCreationDate)
The date the replication task was created.
|
ReplicationTask |
withReplicationTaskIdentifier(String replicationTaskIdentifier)
The replication task identifier.
|
ReplicationTask |
withReplicationTaskSettings(String replicationTaskSettings)
The settings for the replication task.
|
ReplicationTask |
withReplicationTaskStartDate(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(String sourceEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
ReplicationTask |
withStatus(String status)
The status of the replication task.
|
ReplicationTask |
withTableMappings(String tableMappings)
Table mappings specified in the task.
|
ReplicationTask |
withTargetEndpointArn(String targetEndpointArn)
The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
|
public void setReplicationTaskIdentifier(String replicationTaskIdentifier)
The replication task identifier.
Constraints:
replicationTaskIdentifier
- The replication task identifier.
Constraints:
public String getReplicationTaskIdentifier()
The replication task identifier.
Constraints:
Constraints:
public ReplicationTask withReplicationTaskIdentifier(String replicationTaskIdentifier)
The replication task identifier.
Constraints:
replicationTaskIdentifier
- The replication task identifier.
Constraints:
public void setSourceEndpointArn(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 String getSourceEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public ReplicationTask withSourceEndpointArn(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(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 String getTargetEndpointArn()
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
public ReplicationTask withTargetEndpointArn(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(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public String getReplicationInstanceArn()
The Amazon Resource Name (ARN) of the replication instance.
public ReplicationTask withReplicationInstanceArn(String replicationInstanceArn)
The Amazon Resource Name (ARN) of the replication instance.
replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.public void setMigrationType(String migrationType)
The type of migration.
migrationType
- The type of migration.MigrationTypeValue
public String getMigrationType()
The type of migration.
MigrationTypeValue
public ReplicationTask withMigrationType(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(String tableMappings)
Table mappings specified in the task.
tableMappings
- Table mappings specified in the task.public String getTableMappings()
Table mappings specified in the task.
public ReplicationTask withTableMappings(String tableMappings)
Table mappings specified in the task.
tableMappings
- Table mappings specified in the task.public void setReplicationTaskSettings(String replicationTaskSettings)
The settings for the replication task.
replicationTaskSettings
- The settings for the replication task.public String getReplicationTaskSettings()
The settings for the replication task.
public ReplicationTask withReplicationTaskSettings(String replicationTaskSettings)
The settings for the replication task.
replicationTaskSettings
- The settings for the replication task.public void setStatus(String status)
The status of the replication task.
status
- The status of the replication task.public String getStatus()
The status of the replication task.
public ReplicationTask withStatus(String status)
The status of the replication task.
status
- The status of the replication task.public void setLastFailureMessage(String lastFailureMessage)
The last error (failure) message generated for the replication instance.
lastFailureMessage
- The last error (failure) message generated for the replication
instance.public String getLastFailureMessage()
The last error (failure) message generated for the replication instance.
public ReplicationTask withLastFailureMessage(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(Date replicationTaskCreationDate)
The date the replication task was created.
replicationTaskCreationDate
- The date the replication task was created.public Date getReplicationTaskCreationDate()
The date the replication task was created.
public ReplicationTask withReplicationTaskCreationDate(Date replicationTaskCreationDate)
The date the replication task was created.
replicationTaskCreationDate
- The date the replication task was created.public void setReplicationTaskStartDate(Date replicationTaskStartDate)
The date the replication task is scheduled to start.
replicationTaskStartDate
- The date the replication task is scheduled to start.public Date getReplicationTaskStartDate()
The date the replication task is scheduled to start.
public ReplicationTask withReplicationTaskStartDate(Date replicationTaskStartDate)
The date the replication task is scheduled to start.
replicationTaskStartDate
- The date the replication task is scheduled to start.public void setReplicationTaskArn(String replicationTaskArn)
The Amazon Resource Name (ARN) of the replication task.
replicationTaskArn
- The Amazon Resource Name (ARN) of the replication task.public String getReplicationTaskArn()
The Amazon Resource Name (ARN) of the replication task.
public ReplicationTask withReplicationTaskArn(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 String toString()
toString
in class Object
Object.toString()
public ReplicationTask clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.