Class ReplicationStats
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReplicationStats.Builder,
ReplicationStats>
This object provides a collection of statistics about a serverless replication.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicationStats.Builder
builder()
final Long
The elapsed time of the replication, in milliseconds.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
The date the replication was started either with a fresh start or a target reload.final Instant
The date the replication full load was finished.final Integer
The percent complete for the full load serverless replication.final Instant
The date the replication full load was started.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends ReplicationStats.Builder> final Instant
The date the replication is scheduled to start.final Instant
stopDate()
The date the replication was stopped.final Integer
The number of errors that have occured for this replication.final Integer
The number of tables loaded for this replication.final Integer
The number of tables currently loading for this replication.final Integer
The number of tables queued for this replication.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
fullLoadProgressPercent
The percent complete for the full load serverless replication.
- Returns:
- The percent complete for the full load serverless replication.
-
elapsedTimeMillis
The elapsed time of the replication, in milliseconds.
- Returns:
- The elapsed time of the replication, in milliseconds.
-
tablesLoaded
The number of tables loaded for this replication.
- Returns:
- The number of tables loaded for this replication.
-
tablesLoading
The number of tables currently loading for this replication.
- Returns:
- The number of tables currently loading for this replication.
-
tablesQueued
The number of tables queued for this replication.
- Returns:
- The number of tables queued for this replication.
-
tablesErrored
The number of errors that have occured for this replication.
- Returns:
- The number of errors that have occured for this replication.
-
freshStartDate
The date the replication was started either with a fresh start or a target reload.
- Returns:
- The date the replication was started either with a fresh start or a target reload.
-
startDate
The date the replication is scheduled to start.
- Returns:
- The date the replication is scheduled to start.
-
stopDate
The date the replication was stopped.
- Returns:
- The date the replication was stopped.
-
fullLoadStartDate
The date the replication full load was started.
- Returns:
- The date the replication full load was started.
-
fullLoadFinishDate
The date the replication full load was finished.
- Returns:
- The date the replication full load was finished.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReplicationStats.Builder,
ReplicationStats> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-