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 ReplicationTaskStats
clone()
boolean
equals(Object obj)
Long
getElapsedTimeMillis()
The elapsed time of the task, in milliseconds.Integer
getFullLoadProgressPercent()
The percent complete for the full load migration task.Integer
getTablesErrored()
The number of errors that have occurred during this task.Integer
getTablesLoaded()
The number of tables loaded for this task.Integer
getTablesLoading()
The number of tables currently loading for this task.Integer
getTablesQueued()
The number of tables queued for this task.int
hashCode()
void
setElapsedTimeMillis(Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.void
setFullLoadProgressPercent(Integer fullLoadProgressPercent)
The percent complete for the full load migration task.void
setTablesErrored(Integer tablesErrored)
The number of errors that have occurred during this task.void
setTablesLoaded(Integer tablesLoaded)
The number of tables loaded for this task.void
setTablesLoading(Integer tablesLoading)
The number of tables currently loading for this task.void
setTablesQueued(Integer tablesQueued)
The number of tables queued for this task.String
toString()
Returns a string representation of this object; useful for testing and debugging.ReplicationTaskStats
withElapsedTimeMillis(Long elapsedTimeMillis)
The elapsed time of the task, in milliseconds.ReplicationTaskStats
withFullLoadProgressPercent(Integer fullLoadProgressPercent)
The percent complete for the full load migration task.ReplicationTaskStats
withTablesErrored(Integer tablesErrored)
The number of errors that have occurred during this task.ReplicationTaskStats
withTablesLoaded(Integer tablesLoaded)
The number of tables loaded for this task.ReplicationTaskStats
withTablesLoading(Integer tablesLoading)
The number of tables currently loading for this task.ReplicationTaskStats
withTablesQueued(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReplicationTaskStats clone()
-
-