Class DataMigrationStatistics
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.DataMigrationStatistics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataMigrationStatistics.Builder,DataMigrationStatistics>
@Generated("software.amazon.awssdk:codegen") public final class DataMigrationStatistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataMigrationStatistics.Builder,DataMigrationStatistics>
Information about the data migration run, including start and stop time, latency, and migration progress.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataMigrationStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataMigrationStatistics.Builderbuilder()IntegercdcLatency()The current latency of the change data capture (CDC) operation.LongelapsedTimeMillis()The elapsed duration of the data migration run.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerfullLoadPercentage()The data migration's progress in the full-load migration phase.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DataMigrationStatistics.Builder>serializableBuilderClass()InstantstartTime()The time when the migration started.InstantstopTime()The time when the migration stopped or failed.IntegertablesErrored()The number of tables that DMS failed to process.IntegertablesLoaded()The number of tables loaded in the current data migration run.IntegertablesLoading()The data migration's table loading progress.IntegertablesQueued()The number of tables that are waiting for processing.DataMigrationStatistics.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
tablesLoaded
public final Integer tablesLoaded()
The number of tables loaded in the current data migration run.
- Returns:
- The number of tables loaded in the current data migration run.
-
elapsedTimeMillis
public final Long elapsedTimeMillis()
The elapsed duration of the data migration run.
- Returns:
- The elapsed duration of the data migration run.
-
tablesLoading
public final Integer tablesLoading()
The data migration's table loading progress.
- Returns:
- The data migration's table loading progress.
-
fullLoadPercentage
public final Integer fullLoadPercentage()
The data migration's progress in the full-load migration phase.
- Returns:
- The data migration's progress in the full-load migration phase.
-
cdcLatency
public final Integer cdcLatency()
The current latency of the change data capture (CDC) operation.
- Returns:
- The current latency of the change data capture (CDC) operation.
-
tablesQueued
public final Integer tablesQueued()
The number of tables that are waiting for processing.
- Returns:
- The number of tables that are waiting for processing.
-
tablesErrored
public final Integer tablesErrored()
The number of tables that DMS failed to process.
- Returns:
- The number of tables that DMS failed to process.
-
startTime
public final Instant startTime()
The time when the migration started.
- Returns:
- The time when the migration started.
-
stopTime
public final Instant stopTime()
The time when the migration stopped or failed.
- Returns:
- The time when the migration stopped or failed.
-
toBuilder
public DataMigrationStatistics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataMigrationStatistics.Builder,DataMigrationStatistics>
-
builder
public static DataMigrationStatistics.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataMigrationStatistics.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-