public class RollbackInstancesInfo extends AbstractModel
Constructor and Description |
---|
RollbackInstancesInfo() |
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
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. Value range: table, db, full. Default value: full. Table: expedited rollback mode, where only the selected table-level backups and binlogs are imported; for cross-table rollback, if the associated tables are not selected simultaneously, the rollback will fail; the parameter `Databases` must be empty under this mode. db: fast rollback mode, where only the selected database-level backups and binlogs are imported; for cross-database rollback, if the associated databases are not selected simultaneously, the rollback will fail. full: ordinary rollback mode, which imports all the backups and binlogs of the instance at a relatively low speed.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 © 2021. All rights reserved.