public class RollbackInstancesInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RollbackInstancesInfo() | 
| RollbackInstancesInfo(RollbackInstancesInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| RollbackDBName[] | getDatabases()Get Information of the databases to be rolled back, which means rollback at the database level
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getInstanceId()Get TencentDB instance ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getRollbackTime()Get Database rollback time in the format of yyyy-mm-dd hh:mm:ss | 
| String | getStrategy()Get Rollback policy. | 
| RollbackTables[] | getTables()Get Information of the tables to be rolled back, which means rollback at the table level
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setDatabases(RollbackDBName[] Databases)Set Information of the databases to be rolled back, which means rollback at the database level
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setInstanceId(String InstanceId)Set TencentDB instance ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setRollbackTime(String RollbackTime)Set Database rollback time in the format of yyyy-mm-dd hh:mm:ss | 
| void | setStrategy(String Strategy)Set Rollback policy. | 
| void | setTables(RollbackTables[] Tables)Set Information of the tables to be rolled back, which means rollback at the table level
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RollbackInstancesInfo()
public RollbackInstancesInfo(RollbackInstancesInfo source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - TencentDB instance ID
Note: this field may return null, indicating that no valid values can be obtained.public String getStrategy()
public void setStrategy(String Strategy)
Strategy - Rollback policy. Valid values: `table` (ultrafast mode), `db` (faster mode), and `full` (fast mode). Default value: `full`. In the ultrafast mode, only backups and binlogs of the tables specified by the `Tables` parameter are imported; if `Tables` does not include all of the tables involved in cross-table operations, the rollback may fail; and the `Database` parameter must be left empty. In the faster mode, only backups and binlogs of the databases specified by the `Databases` parameter are imported, and if `Databases` does not include all of the databases involved in cross-database operations, the rollback may fail. In the fast mode, backups and binlogs of the entire instance will be imported in a speed slower than the other modes.public String getRollbackTime()
public void setRollbackTime(String RollbackTime)
RollbackTime - Database rollback time in the format of yyyy-mm-dd hh:mm:sspublic RollbackDBName[] getDatabases()
public void setDatabases(RollbackDBName[] Databases)
Databases - Information of the databases to be rolled back, which means rollback at the database level
Note: this field may return null, indicating that no valid values can be obtained.public RollbackTables[] getTables()
public void setTables(RollbackTables[] Tables)
Tables - Information of the tables to be rolled back, which means rollback at the table level
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.