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 |
---|---|
String |
getInstanceId()
Get Instance ID.
|
Boolean |
getNoAuth()
Get Whether to switch to a password-free instance.
|
String |
getPassword()
Get Reset 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, 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 blank when a password-free instance is used. It is required in other cases.public Boolean getNoAuth()
public void setNoAuth(Boolean NoAuth)
NoAuth
- Whether to switch to a password-free instance.
- false: Switch to a non-password-free instance.
- true: Switch to a password-free instance. Default value: false.Copyright © 2024. All rights reserved.