public class ResetPasswordRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ResetPasswordRequest() |
ResetPasswordRequest(ResetPasswordRequest 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 |
---|---|
Boolean |
getEncryptPassword()
Get Whether to encrypt the password.
|
String |
getInstanceId()
Get Instance ID.
|
Boolean |
getNoAuth()
Get Whether to switch to a password-free instance.
|
String |
getPassword()
Get Reset password.
|
void |
setEncryptPassword(Boolean EncryptPassword)
Set Whether to encrypt the password.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setNoAuth(Boolean NoAuth)
Set Whether to switch to a password-free instance.
|
void |
setPassword(String Password)
Set Reset password.
|
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 ResetPasswordRequest()
public ResetPasswordRequest(ResetPasswordRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.public String getPassword()
public void setPassword(String Password)
Password
- Reset password. This parameter can be left unspecified when a password-free instance is used.
- It should contain 8 to 32 characters. 12 or more characters are recommended.
- It cannot start with a forward slash (/).
- It should contain at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()~!@#$%^&*-+=_|{}[]:;<>,.?/).public Boolean getNoAuth()
public void setNoAuth(Boolean NoAuth)
NoAuth
- Whether to switch to a password-free instance.
- false: switch to an instance that requires a password. The default value is false.
- true: switch to a password-free instance.public Boolean getEncryptPassword()
public void setEncryptPassword(Boolean EncryptPassword)
EncryptPassword
- Whether to encrypt the password.
- false: non-encrypted password. The default value is false.
- true: encrypted password.Copyright © 2025. All rights reserved.