Class RollbackInstancesInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.RollbackInstancesInfo
-
public class RollbackInstancesInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RollbackDBName[]getDatabases()Get 待回档的数据库信息,表示整库回档 注意:此字段可能返回 null,表示取不到有效值。StringgetInstanceId()Get 云数据库实例ID 注意:此字段可能返回 null,表示取不到有效值。StringgetRollbackTime()Get 数据库回档时间,时间格式为:yyyy-mm-dd hh:mm:ssStringgetStrategy()Get 回档策略。可选值为:table、db、full;默认值为full。table - 极速回档模式,仅导入所选中表级别的备份和binlog,如有跨表操作,且关联表未被同时选中,将会导致回档失败,该模式下参数Databases必须为空;db - 快速模式,仅导入所选中库级别的备份和binlog,如有跨库操作,且关联库未被同时选中,将会导致回档失败;full - 普通回档模式,将导入整个实例的备份和binlog,速度较慢。RollbackTables[]getTables()Get 待回档的数据库表信息,表示按表回档 注意:此字段可能返回 null,表示取不到有效值。voidsetDatabases(RollbackDBName[] Databases)Set 待回档的数据库信息,表示整库回档 注意:此字段可能返回 null,表示取不到有效值。voidsetInstanceId(String InstanceId)Set 云数据库实例ID 注意:此字段可能返回 null,表示取不到有效值。voidsetRollbackTime(String RollbackTime)Set 数据库回档时间,时间格式为:yyyy-mm-dd hh:mm:ssvoidsetStrategy(String Strategy)Set 回档策略。可选值为:table、db、full;默认值为full。table - 极速回档模式,仅导入所选中表级别的备份和binlog,如有跨表操作,且关联表未被同时选中,将会导致回档失败,该模式下参数Databases必须为空;db - 快速模式,仅导入所选中库级别的备份和binlog,如有跨库操作,且关联库未被同时选中,将会导致回档失败;full - 普通回档模式,将导入整个实例的备份和binlog,速度较慢。voidsetTables(RollbackTables[] Tables)Set 待回档的数据库表信息,表示按表回档 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RollbackInstancesInfo
public RollbackInstancesInfo()
-
RollbackInstancesInfo
public 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 云数据库实例ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- InstanceId 云数据库实例ID 注意:此字段可能返回 null,表示取不到有效值。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 云数据库实例ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
InstanceId- 云数据库实例ID 注意:此字段可能返回 null,表示取不到有效值。
-
getStrategy
public String getStrategy()
Get 回档策略。可选值为:table、db、full;默认值为full。table - 极速回档模式,仅导入所选中表级别的备份和binlog,如有跨表操作,且关联表未被同时选中,将会导致回档失败,该模式下参数Databases必须为空;db - 快速模式,仅导入所选中库级别的备份和binlog,如有跨库操作,且关联库未被同时选中,将会导致回档失败;full - 普通回档模式,将导入整个实例的备份和binlog,速度较慢。- Returns:
- Strategy 回档策略。可选值为:table、db、full;默认值为full。table - 极速回档模式,仅导入所选中表级别的备份和binlog,如有跨表操作,且关联表未被同时选中,将会导致回档失败,该模式下参数Databases必须为空;db - 快速模式,仅导入所选中库级别的备份和binlog,如有跨库操作,且关联库未被同时选中,将会导致回档失败;full - 普通回档模式,将导入整个实例的备份和binlog,速度较慢。
-
setStrategy
public void setStrategy(String Strategy)
Set 回档策略。可选值为:table、db、full;默认值为full。table - 极速回档模式,仅导入所选中表级别的备份和binlog,如有跨表操作,且关联表未被同时选中,将会导致回档失败,该模式下参数Databases必须为空;db - 快速模式,仅导入所选中库级别的备份和binlog,如有跨库操作,且关联库未被同时选中,将会导致回档失败;full - 普通回档模式,将导入整个实例的备份和binlog,速度较慢。- Parameters:
Strategy- 回档策略。可选值为:table、db、full;默认值为full。table - 极速回档模式,仅导入所选中表级别的备份和binlog,如有跨表操作,且关联表未被同时选中,将会导致回档失败,该模式下参数Databases必须为空;db - 快速模式,仅导入所选中库级别的备份和binlog,如有跨库操作,且关联库未被同时选中,将会导致回档失败;full - 普通回档模式,将导入整个实例的备份和binlog,速度较慢。
-
getRollbackTime
public String getRollbackTime()
Get 数据库回档时间,时间格式为:yyyy-mm-dd hh:mm:ss- Returns:
- RollbackTime 数据库回档时间,时间格式为:yyyy-mm-dd hh:mm:ss
-
setRollbackTime
public void setRollbackTime(String RollbackTime)
Set 数据库回档时间,时间格式为:yyyy-mm-dd hh:mm:ss- Parameters:
RollbackTime- 数据库回档时间,时间格式为:yyyy-mm-dd hh:mm:ss
-
getDatabases
public RollbackDBName[] getDatabases()
Get 待回档的数据库信息,表示整库回档 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Databases 待回档的数据库信息,表示整库回档 注意:此字段可能返回 null,表示取不到有效值。
-
setDatabases
public void setDatabases(RollbackDBName[] Databases)
Set 待回档的数据库信息,表示整库回档 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Databases- 待回档的数据库信息,表示整库回档 注意:此字段可能返回 null,表示取不到有效值。
-
getTables
public RollbackTables[] getTables()
Get 待回档的数据库表信息,表示按表回档 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Tables 待回档的数据库表信息,表示按表回档 注意:此字段可能返回 null,表示取不到有效值。
-
setTables
public void setTables(RollbackTables[] Tables)
Set 待回档的数据库表信息,表示按表回档 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Tables- 待回档的数据库表信息,表示按表回档 注意:此字段可能返回 null,表示取不到有效值。
-
-