Struct aws_sdk_databasemigration::model::table_statistics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TableStatistics
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The schema name.
sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The schema name.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table.
sourcepub fn set_inserts(self, input: Option<i64>) -> Self
pub fn set_inserts(self, input: Option<i64>) -> Self
The number of insert actions performed on a table.
sourcepub fn set_deletes(self, input: Option<i64>) -> Self
pub fn set_deletes(self, input: Option<i64>) -> Self
The number of delete actions performed on a table.
sourcepub fn set_updates(self, input: Option<i64>) -> Self
pub fn set_updates(self, input: Option<i64>) -> Self
The number of update actions performed on a table.
sourcepub fn ddls(self, input: i64) -> Self
pub fn ddls(self, input: i64) -> Self
The data definition language (DDL) used to build and modify the structure of your tables.
sourcepub fn set_ddls(self, input: Option<i64>) -> Self
pub fn set_ddls(self, input: Option<i64>) -> Self
The data definition language (DDL) used to build and modify the structure of your tables.
sourcepub fn applied_inserts(self, input: i64) -> Self
pub fn applied_inserts(self, input: i64) -> Self
The number of insert actions applied on a target table.
sourcepub fn set_applied_inserts(self, input: Option<i64>) -> Self
pub fn set_applied_inserts(self, input: Option<i64>) -> Self
The number of insert actions applied on a target table.
sourcepub fn applied_deletes(self, input: i64) -> Self
pub fn applied_deletes(self, input: i64) -> Self
The number of delete actions applied on a target table.
sourcepub fn set_applied_deletes(self, input: Option<i64>) -> Self
pub fn set_applied_deletes(self, input: Option<i64>) -> Self
The number of delete actions applied on a target table.
sourcepub fn applied_updates(self, input: i64) -> Self
pub fn applied_updates(self, input: i64) -> Self
The number of update actions applied on a target table.
sourcepub fn set_applied_updates(self, input: Option<i64>) -> Self
pub fn set_applied_updates(self, input: Option<i64>) -> Self
The number of update actions applied on a target table.
sourcepub fn applied_ddls(self, input: i64) -> Self
pub fn applied_ddls(self, input: i64) -> Self
The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
sourcepub fn set_applied_ddls(self, input: Option<i64>) -> Self
pub fn set_applied_ddls(self, input: Option<i64>) -> Self
The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.
sourcepub fn full_load_rows(self, input: i64) -> Self
pub fn full_load_rows(self, input: i64) -> Self
The number of rows added during the full load operation.
sourcepub fn set_full_load_rows(self, input: Option<i64>) -> Self
pub fn set_full_load_rows(self, input: Option<i64>) -> Self
The number of rows added during the full load operation.
sourcepub fn full_load_condtnl_chk_failed_rows(self, input: i64) -> Self
pub fn full_load_condtnl_chk_failed_rows(self, input: i64) -> Self
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
sourcepub fn set_full_load_condtnl_chk_failed_rows(self, input: Option<i64>) -> Self
pub fn set_full_load_condtnl_chk_failed_rows(self, input: Option<i64>) -> Self
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
sourcepub fn full_load_error_rows(self, input: i64) -> Self
pub fn full_load_error_rows(self, input: i64) -> Self
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
sourcepub fn set_full_load_error_rows(self, input: Option<i64>) -> Self
pub fn set_full_load_error_rows(self, input: Option<i64>) -> Self
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
sourcepub fn full_load_start_time(self, input: DateTime) -> Self
pub fn full_load_start_time(self, input: DateTime) -> Self
The time when the full load operation started.
sourcepub fn set_full_load_start_time(self, input: Option<DateTime>) -> Self
pub fn set_full_load_start_time(self, input: Option<DateTime>) -> Self
The time when the full load operation started.
sourcepub fn full_load_end_time(self, input: DateTime) -> Self
pub fn full_load_end_time(self, input: DateTime) -> Self
The time when the full load operation completed.
sourcepub fn set_full_load_end_time(self, input: Option<DateTime>) -> Self
pub fn set_full_load_end_time(self, input: Option<DateTime>) -> Self
The time when the full load operation completed.
sourcepub fn full_load_reloaded(self, input: bool) -> Self
pub fn full_load_reloaded(self, input: bool) -> Self
A value that indicates if the table was reloaded (true
) or loaded as part of a new full load operation (false
).
sourcepub fn set_full_load_reloaded(self, input: Option<bool>) -> Self
pub fn set_full_load_reloaded(self, input: Option<bool>) -> Self
A value that indicates if the table was reloaded (true
) or loaded as part of a new full load operation (false
).
sourcepub fn last_update_time(self, input: DateTime) -> Self
pub fn last_update_time(self, input: DateTime) -> Self
The last time a table was updated.
sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
The last time a table was updated.
sourcepub fn table_state(self, input: impl Into<String>) -> Self
pub fn table_state(self, input: impl Into<String>) -> Self
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
sourcepub fn set_table_state(self, input: Option<String>) -> Self
pub fn set_table_state(self, input: Option<String>) -> Self
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
sourcepub fn validation_pending_records(self, input: i64) -> Self
pub fn validation_pending_records(self, input: i64) -> Self
The number of records that have yet to be validated.
sourcepub fn set_validation_pending_records(self, input: Option<i64>) -> Self
pub fn set_validation_pending_records(self, input: Option<i64>) -> Self
The number of records that have yet to be validated.
sourcepub fn validation_failed_records(self, input: i64) -> Self
pub fn validation_failed_records(self, input: i64) -> Self
The number of records that failed validation.
sourcepub fn set_validation_failed_records(self, input: Option<i64>) -> Self
pub fn set_validation_failed_records(self, input: Option<i64>) -> Self
The number of records that failed validation.
sourcepub fn validation_suspended_records(self, input: i64) -> Self
pub fn validation_suspended_records(self, input: i64) -> Self
The number of records that couldn't be validated.
sourcepub fn set_validation_suspended_records(self, input: Option<i64>) -> Self
pub fn set_validation_suspended_records(self, input: Option<i64>) -> Self
The number of records that couldn't be validated.
sourcepub fn validation_state(self, input: impl Into<String>) -> Self
pub fn validation_state(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_validation_state(self, input: Option<String>) -> Self
pub fn set_validation_state(self, input: Option<String>) -> Self
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.
sourcepub fn validation_state_details(self, input: impl Into<String>) -> Self
pub fn validation_state_details(self, input: impl Into<String>) -> Self
Additional details about the state of validation.
sourcepub fn set_validation_state_details(self, input: Option<String>) -> Self
pub fn set_validation_state_details(self, input: Option<String>) -> Self
Additional details about the state of validation.
sourcepub fn build(self) -> TableStatistics
pub fn build(self) -> TableStatistics
Consumes the builder and constructs a TableStatistics
.