public class ResetAccountPasswordRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ResetAccountPasswordRequest() |
ResetAccountPasswordRequest(ResetAccountPasswordRequest 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 |
getDBInstanceId()
Get 实例ID,形如postgres-4wdeb0zv。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
String |
getPassword()
Get UserName账户对应的新密码。
密码设置规则如下:
- 长度8~ 32位,推荐使用12位以上的密码
- 不能以" / "开头
- 必须包含以下四项:
1.
|
String |
getUserName()
Get 实例账户名。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
void |
setDBInstanceId(String DBInstanceId)
Set 实例ID,形如postgres-4wdeb0zv。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
void |
setPassword(String Password)
Set UserName账户对应的新密码。
密码设置规则如下:
- 长度8~ 32位,推荐使用12位以上的密码
- 不能以" / "开头
- 必须包含以下四项:
1.
|
void |
setUserName(String UserName)
Set 实例账户名。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
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 ResetAccountPasswordRequest()
public ResetAccountPasswordRequest(ResetAccountPasswordRequest source)
public String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- 实例ID,形如postgres-4wdeb0zv。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取public String getUserName()
public void setUserName(String UserName)
UserName
- 实例账户名。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取public String getPassword()
public void setPassword(String Password)
Password
- UserName账户对应的新密码。
密码设置规则如下:
- 长度8~ 32位,推荐使用12位以上的密码
- 不能以" / "开头
- 必须包含以下四项:
1. 小写字母a ~ z
2. 大写字母 A ~ Z
3. 数字 0 ~ 9
4. 特殊字符 ()`~!@#$%^&*-+=_|{}[]:<>,.?/Copyright © 2025. All rights reserved.