public class RestoreInstanceRequest extends AbstractModel
Constructor and Description |
---|
RestoreInstanceRequest() |
RestoreInstanceRequest(RestoreInstanceRequest 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 |
---|---|
String |
getBackupId()
Get Backup ID, which can be obtained through the `backupId` field in the return value of the GetRedisBackupList API
|
String |
getInstanceId()
Get ID of the instance to be operated on, which can be obtained through the `redisId` field in the return value of the DescribeRedis API.
|
String |
getPassword()
Get Instance password, which needs to be validated during instance restoration (this parameter is not required for password-free instances)
|
void |
setBackupId(String BackupId)
Set Backup ID, which can be obtained through the `backupId` field in the return value of the GetRedisBackupList API
|
void |
setInstanceId(String InstanceId)
Set ID of the instance to be operated on, which can be obtained through the `redisId` field in the return value of the DescribeRedis API.
|
void |
setPassword(String Password)
Set Instance password, which needs to be validated during instance restoration (this parameter is not required for password-free instances)
|
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 RestoreInstanceRequest()
public RestoreInstanceRequest(RestoreInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the instance to be operated on, which can be obtained through the `redisId` field in the return value of the DescribeRedis API.public String getBackupId()
public void setBackupId(String BackupId)
BackupId
- Backup ID, which can be obtained through the `backupId` field in the return value of the GetRedisBackupList APIpublic String getPassword()
public void setPassword(String Password)
Password
- Instance password, which needs to be validated during instance restoration (this parameter is not required for password-free instances)Copyright © 2021. All rights reserved.