public class DescribeDBRestoreTimeRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeDBRestoreTimeRequest() |
DescribeDBRestoreTimeRequest(DescribeDBRestoreTimeRequest 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 |
---|---|
Long |
getBackupId()
Get Queries databases that can be rolled back by backup set ID, which can be obtained through the DescribeBackups API.
|
String |
getDBName()
Get Database name.
|
String |
getInstanceId()
Get Original instance ID.
|
String |
getTargetInstanceId()
Get ID of the target instance for rollback.
|
String |
getTime()
Get Queries databases that can be rolled back by time point, with the time format of YYYY-MM-DD HH:MM:SS.
|
void |
setBackupId(Long BackupId)
Set Queries databases that can be rolled back by backup set ID, which can be obtained through the DescribeBackups API.
|
void |
setDBName(String DBName)
Set Database name.
|
void |
setInstanceId(String InstanceId)
Set Original instance ID.
|
void |
setTargetInstanceId(String TargetInstanceId)
Set ID of the target instance for rollback.
|
void |
setTime(String Time)
Set Queries databases that can be rolled back by time point, with the time format of YYYY-MM-DD HH:MM:SS.
|
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, toJsonString
public DescribeDBRestoreTimeRequest()
public DescribeDBRestoreTimeRequest(DescribeDBRestoreTimeRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Original instance ID.public String getTargetInstanceId()
public void setTargetInstanceId(String TargetInstanceId)
TargetInstanceId
- ID of the target instance for rollback. If this parameter is left unspecified, roll back to the original instance by default.public String getTime()
public void setTime(String Time)
Time
- Queries databases that can be rolled back by time point, with the time format of YYYY-MM-DD HH:MM:SS. Either BackupId or Time should be specified, as they cannot be empty simultaneously.public Long getBackupId()
public void setBackupId(Long BackupId)
BackupId
- Queries databases that can be rolled back by backup set ID, which can be obtained through the DescribeBackups API. Either BackupId or Time should be specified, as they cannot be empty simultaneously.public String getDBName()
public void setDBName(String DBName)
DBName
- Database name.Copyright © 2025. All rights reserved.