public class ModfiyInstancePasswordRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModfiyInstancePasswordRequest() |
ModfiyInstancePasswordRequest(ModfiyInstancePasswordRequest 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 |
getInstanceId()
Get Instance ID, such as "crs-xjhsdj****".
|
String |
getOldPassword()
Get Old password of an instance
|
String |
getPassword()
Get New instance password, which has the following requirements:
- It must contain 8-30 characters, preferably 12 or more.
|
void |
setInstanceId(String InstanceId)
Set Instance ID, such as "crs-xjhsdj****".
|
void |
setOldPassword(String OldPassword)
Set Old password of an instance
|
void |
setPassword(String Password)
Set New instance password, which has the following requirements:
- It must contain 8-30 characters, preferably 12 or more.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModfiyInstancePasswordRequest()
public ModfiyInstancePasswordRequest(ModfiyInstancePasswordRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID, such as "crs-xjhsdj****". Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.public String getOldPassword()
public void setOldPassword(String OldPassword)
OldPassword
- Old password of an instancepublic String getPassword()
public void setPassword(String Password)
Password
- New instance password, which has the following requirements:
- It must contain 8-30 characters, preferably 12 or more.
- It cannot start with a slash (/)
- It must contain two of the following three types: lowercase letters, uppercase letters, and symbols (()~!@#$%^&*-+=_|{}[]:;<>,.?/)Copyright © 2024. All rights reserved.