Class ReplicationTaskStats
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.ReplicationTaskStats
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ReplicationTaskStats extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicationTaskStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationTaskStatsclone()booleanequals(Object obj)LonggetElapsedTimeMillis()The elapsed time of the task, in milliseconds.IntegergetFullLoadProgressPercent()The percent complete for the full load migration task.IntegergetTablesErrored()The number of errors that have occurred during this task.IntegergetTablesLoaded()The number of tables loaded for this task.IntegergetTablesLoading()The number of tables currently loading for this task.IntegergetTablesQueued()The number of tables queued for this task.inthashCode()voidsetElapsedTimeMillis(Long elapsedTimeMillis)The elapsed time of the task, in milliseconds.voidsetFullLoadProgressPercent(Integer fullLoadProgressPercent)The percent complete for the full load migration task.voidsetTablesErrored(Integer tablesErrored)The number of errors that have occurred during this task.voidsetTablesLoaded(Integer tablesLoaded)The number of tables loaded for this task.voidsetTablesLoading(Integer tablesLoading)The number of tables currently loading for this task.voidsetTablesQueued(Integer tablesQueued)The number of tables queued for this task.StringtoString()Returns a string representation of this object; useful for testing and debugging.ReplicationTaskStatswithElapsedTimeMillis(Long elapsedTimeMillis)The elapsed time of the task, in milliseconds.ReplicationTaskStatswithFullLoadProgressPercent(Integer fullLoadProgressPercent)The percent complete for the full load migration task.ReplicationTaskStatswithTablesErrored(Integer tablesErrored)The number of errors that have occurred during this task.ReplicationTaskStatswithTablesLoaded(Integer tablesLoaded)The number of tables loaded for this task.ReplicationTaskStatswithTablesLoading(Integer tablesLoading)The number of tables currently loading for this task.ReplicationTaskStatswithTablesQueued(Integer tablesQueued)The number of tables queued for this task.
-
-
-
Method Detail
-
setFullLoadProgressPercent
public void setFullLoadProgressPercent(Integer fullLoadProgressPercent)
The percent complete for the full load migration task.
- Parameters:
fullLoadProgressPercent- The percent complete for the full load migration task.
-
getFullLoadProgressPercent
public Integer getFullLoadProgressPercent()
The percent complete for the full load migration task.
- Returns:
- The percent complete for the full load migration task.
-
withFullLoadProgressPercent
public ReplicationTaskStats withFullLoadProgressPercent(Integer fullLoadProgressPercent)
The percent complete for the full load migration task.
- Parameters:
fullLoadProgressPercent- The percent complete for the full load migration task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setElapsedTimeMillis
public void setElapsedTimeMillis(Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.
- Parameters:
elapsedTimeMillis- The elapsed time of the task, in milliseconds.
-
getElapsedTimeMillis
public Long getElapsedTimeMillis()
The elapsed time of the task, in milliseconds.
- Returns:
- The elapsed time of the task, in milliseconds.
-
withElapsedTimeMillis
public ReplicationTaskStats withElapsedTimeMillis(Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.
- Parameters:
elapsedTimeMillis- The elapsed time of the task, in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTablesLoaded
public void setTablesLoaded(Integer tablesLoaded)
The number of tables loaded for this task.
- Parameters:
tablesLoaded- The number of tables loaded for this task.
-
getTablesLoaded
public Integer getTablesLoaded()
The number of tables loaded for this task.
- Returns:
- The number of tables loaded for this task.
-
withTablesLoaded
public ReplicationTaskStats withTablesLoaded(Integer tablesLoaded)
The number of tables loaded for this task.
- Parameters:
tablesLoaded- The number of tables loaded for this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTablesLoading
public void setTablesLoading(Integer tablesLoading)
The number of tables currently loading for this task.
- Parameters:
tablesLoading- The number of tables currently loading for this task.
-
getTablesLoading
public Integer getTablesLoading()
The number of tables currently loading for this task.
- Returns:
- The number of tables currently loading for this task.
-
withTablesLoading
public ReplicationTaskStats withTablesLoading(Integer tablesLoading)
The number of tables currently loading for this task.
- Parameters:
tablesLoading- The number of tables currently loading for this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTablesQueued
public void setTablesQueued(Integer tablesQueued)
The number of tables queued for this task.
- Parameters:
tablesQueued- The number of tables queued for this task.
-
getTablesQueued
public Integer getTablesQueued()
The number of tables queued for this task.
- Returns:
- The number of tables queued for this task.
-
withTablesQueued
public ReplicationTaskStats withTablesQueued(Integer tablesQueued)
The number of tables queued for this task.
- Parameters:
tablesQueued- The number of tables queued for this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTablesErrored
public void setTablesErrored(Integer tablesErrored)
The number of errors that have occurred during this task.
- Parameters:
tablesErrored- The number of errors that have occurred during this task.
-
getTablesErrored
public Integer getTablesErrored()
The number of errors that have occurred during this task.
- Returns:
- The number of errors that have occurred during this task.
-
withTablesErrored
public ReplicationTaskStats withTablesErrored(Integer tablesErrored)
The number of errors that have occurred during this task.
- Parameters:
tablesErrored- The number of errors that have occurred during this task.- 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 ReplicationTaskStats clone()
-
-