Interface TableStatistics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TableStatistics.Builder,TableStatistics>,SdkBuilder<TableStatistics.Builder,TableStatistics>,SdkPojo
- Enclosing class:
- TableStatistics
@Mutable @NotThreadSafe public static interface TableStatistics.Builder extends SdkPojo, CopyableBuilder<TableStatistics.Builder,TableStatistics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TableStatistics.BuilderappliedDdls(Long appliedDdls)The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.TableStatistics.BuilderappliedDeletes(Long appliedDeletes)The number of delete actions applied on a target table.TableStatistics.BuilderappliedInserts(Long appliedInserts)The number of insert actions applied on a target table.TableStatistics.BuilderappliedUpdates(Long appliedUpdates)The number of update actions applied on a target table.TableStatistics.Builderddls(Long ddls)The data definition language (DDL) used to build and modify the structure of your tables.TableStatistics.Builderdeletes(Long deletes)The number of delete actions performed on a table.TableStatistics.BuilderfullLoadCondtnlChkFailedRows(Long fullLoadCondtnlChkFailedRows)The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).TableStatistics.BuilderfullLoadEndTime(Instant fullLoadEndTime)The time when the full load operation completed.TableStatistics.BuilderfullLoadErrorRows(Long fullLoadErrorRows)The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).TableStatistics.BuilderfullLoadReloaded(Boolean fullLoadReloaded)A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).TableStatistics.BuilderfullLoadRows(Long fullLoadRows)The number of rows added during the full load operation.TableStatistics.BuilderfullLoadStartTime(Instant fullLoadStartTime)The time when the full load operation started.TableStatistics.Builderinserts(Long inserts)The number of insert actions performed on a table.TableStatistics.BuilderlastUpdateTime(Instant lastUpdateTime)The last time a table was updated.TableStatistics.BuilderresyncProgress(Double resyncProgress)Calculates the percentage of failed validations that were successfully resynced to the system.TableStatistics.BuilderresyncRowsAttempted(Long resyncRowsAttempted)Records the total number of mismatched data rows where the system attempted to apply fixes in the target database.TableStatistics.BuilderresyncRowsFailed(Long resyncRowsFailed)Records the total number of mismatched data rows where fix attempts failed in the target database.TableStatistics.BuilderresyncRowsSucceeded(Long resyncRowsSucceeded)Records the total number of mismatched data rows where fixes were successfully applied in the target database.TableStatistics.BuilderresyncState(String resyncState)Records the current state of table resynchronization in the migration task.TableStatistics.BuilderschemaName(String schemaName)The schema name.TableStatistics.BuildertableName(String tableName)The name of the table.TableStatistics.BuildertableState(String tableState)The state of the tables described.TableStatistics.Builderupdates(Long updates)The number of update actions performed on a table.TableStatistics.BuildervalidationFailedRecords(Long validationFailedRecords)The number of records that failed validation.TableStatistics.BuildervalidationPendingRecords(Long validationPendingRecords)The number of records that have yet to be validated.TableStatistics.BuildervalidationState(String validationState)The validation state of the table.TableStatistics.BuildervalidationStateDetails(String validationStateDetails)Additional details about the state of validation.TableStatistics.BuildervalidationSuspendedRecords(Long validationSuspendedRecords)The number of records that couldn't be validated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
schemaName
TableStatistics.Builder schemaName(String schemaName)
The schema name.
- Parameters:
schemaName- The schema name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
TableStatistics.Builder tableName(String tableName)
The name of the table.
- Parameters:
tableName- The name of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inserts
TableStatistics.Builder inserts(Long inserts)
The number of insert actions performed on a table.
- Parameters:
inserts- The number of insert actions performed on a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletes
TableStatistics.Builder deletes(Long deletes)
The number of delete actions performed on a table.
- Parameters:
deletes- The number of delete actions performed on a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
TableStatistics.Builder updates(Long updates)
The number of update actions performed on a table.
- Parameters:
updates- The number of update actions performed on a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ddls
TableStatistics.Builder ddls(Long ddls)
The data definition language (DDL) used to build and modify the structure of your tables.
- Parameters:
ddls- The data definition language (DDL) used to build and modify the structure of your tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedInserts
TableStatistics.Builder appliedInserts(Long appliedInserts)
The number of insert actions applied on a target table.
- Parameters:
appliedInserts- The number of insert actions applied on a target table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedDeletes
TableStatistics.Builder appliedDeletes(Long appliedDeletes)
The number of delete actions applied on a target table.
- Parameters:
appliedDeletes- The number of delete actions applied on a target table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedUpdates
TableStatistics.Builder appliedUpdates(Long appliedUpdates)
The number of update actions applied on a target table.
- Parameters:
appliedUpdates- The number of update actions applied on a target table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedDdls
TableStatistics.Builder appliedDdls(Long appliedDdls)
The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
- Parameters:
appliedDdls- The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullLoadRows
TableStatistics.Builder fullLoadRows(Long fullLoadRows)
The number of rows added during the full load operation.
- Parameters:
fullLoadRows- The number of rows added during the full load operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullLoadCondtnlChkFailedRows
TableStatistics.Builder fullLoadCondtnlChkFailedRows(Long fullLoadCondtnlChkFailedRows)
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
- Parameters:
fullLoadCondtnlChkFailedRows- The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullLoadErrorRows
TableStatistics.Builder fullLoadErrorRows(Long fullLoadErrorRows)
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
- Parameters:
fullLoadErrorRows- The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullLoadStartTime
TableStatistics.Builder fullLoadStartTime(Instant fullLoadStartTime)
The time when the full load operation started.
- Parameters:
fullLoadStartTime- The time when the full load operation started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullLoadEndTime
TableStatistics.Builder fullLoadEndTime(Instant fullLoadEndTime)
The time when the full load operation completed.
- Parameters:
fullLoadEndTime- The time when the full load operation completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullLoadReloaded
TableStatistics.Builder fullLoadReloaded(Boolean fullLoadReloaded)
A value that indicates if the table was reloaded (
true) or loaded as part of a new full load operation (false).- Parameters:
fullLoadReloaded- A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
TableStatistics.Builder lastUpdateTime(Instant lastUpdateTime)
The last time a table was updated.
- Parameters:
lastUpdateTime- The last time a table was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableState
TableStatistics.Builder tableState(String tableState)
The state of the tables described.
Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded
- Parameters:
tableState- The state of the tables described.Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationPendingRecords
TableStatistics.Builder validationPendingRecords(Long validationPendingRecords)
The number of records that have yet to be validated.
- Parameters:
validationPendingRecords- The number of records that have yet to be validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationFailedRecords
TableStatistics.Builder validationFailedRecords(Long validationFailedRecords)
The number of records that failed validation.
- Parameters:
validationFailedRecords- The number of records that failed validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationSuspendedRecords
TableStatistics.Builder validationSuspendedRecords(Long validationSuspendedRecords)
The number of records that couldn't be validated.
- Parameters:
validationSuspendedRecords- The number of records that couldn't be validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationState
TableStatistics.Builder validationState(String validationState)
The validation state of the table.
This parameter can have the following values:
-
Not enabled – Validation isn't enabled for the table in the migration task.
-
Pending records – Some records in the table are waiting for validation.
-
Mismatched records – Some records in the table don't match between the source and target.
-
Suspended records – Some records in the table couldn't be validated.
-
No primary key –The table couldn't be validated because it has no primary key.
-
Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.
-
Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.
-
Error – The table couldn't be validated because of an unexpected error.
-
Pending validation – The table is waiting validation.
-
Preparing table – Preparing the table enabled in the migration task for validation.
-
Pending revalidation – All rows in the table are pending validation after the table was updated.
- Parameters:
validationState- The validation state of the table.This parameter can have the following values:
-
Not enabled – Validation isn't enabled for the table in the migration task.
-
Pending records – Some records in the table are waiting for validation.
-
Mismatched records – Some records in the table don't match between the source and target.
-
Suspended records – Some records in the table couldn't be validated.
-
No primary key –The table couldn't be validated because it has no primary key.
-
Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.
-
Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.
-
Error – The table couldn't be validated because of an unexpected error.
-
Pending validation – The table is waiting validation.
-
Preparing table – Preparing the table enabled in the migration task for validation.
-
Pending revalidation – All rows in the table are pending validation after the table was updated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
validationStateDetails
TableStatistics.Builder validationStateDetails(String validationStateDetails)
Additional details about the state of validation.
- Parameters:
validationStateDetails- Additional details about the state of validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resyncState
TableStatistics.Builder resyncState(String resyncState)
Records the current state of table resynchronization in the migration task.
This parameter can have the following values:
-
Not enabled – Resync is not enabled for the table in the migration task.
-
Pending – The tables are waiting for resync.
-
In progress – Resync in progress for some records in the table.
-
No primary key – The table could not be resynced because it has no primary key.
-
Last resync at:
date/time– Resync session is finished at time. Time provided in UTC format.
- Parameters:
resyncState- Records the current state of table resynchronization in the migration task.This parameter can have the following values:
-
Not enabled – Resync is not enabled for the table in the migration task.
-
Pending – The tables are waiting for resync.
-
In progress – Resync in progress for some records in the table.
-
No primary key – The table could not be resynced because it has no primary key.
-
Last resync at:
date/time– Resync session is finished at time. Time provided in UTC format.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
resyncRowsAttempted
TableStatistics.Builder resyncRowsAttempted(Long resyncRowsAttempted)
Records the total number of mismatched data rows where the system attempted to apply fixes in the target database.
- Parameters:
resyncRowsAttempted- Records the total number of mismatched data rows where the system attempted to apply fixes in the target database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resyncRowsSucceeded
TableStatistics.Builder resyncRowsSucceeded(Long resyncRowsSucceeded)
Records the total number of mismatched data rows where fixes were successfully applied in the target database.
- Parameters:
resyncRowsSucceeded- Records the total number of mismatched data rows where fixes were successfully applied in the target database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resyncRowsFailed
TableStatistics.Builder resyncRowsFailed(Long resyncRowsFailed)
Records the total number of mismatched data rows where fix attempts failed in the target database.
- Parameters:
resyncRowsFailed- Records the total number of mismatched data rows where fix attempts failed in the target database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resyncProgress
TableStatistics.Builder resyncProgress(Double resyncProgress)
Calculates the percentage of failed validations that were successfully resynced to the system.
- Parameters:
resyncProgress- Calculates the percentage of failed validations that were successfully resynced to the system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-