public class ResetPasswordRequest extends AbstractModel
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 Redis instance ID
|
Boolean |
getNoAuth()
Get Whether to switch to password-free instance mode.
|
String |
getPassword()
Get Password reset (this parameter can be left blank when switching to password-free instance mode and is required in other cases)
|
void |
setInstanceId(String InstanceId)
Set Redis instance ID
|
void |
setNoAuth(Boolean NoAuth)
Set Whether to switch to password-free instance mode.
|
void |
setPassword(String Password)
Set Password reset (this parameter can be left blank when switching to password-free instance mode and is required in other cases)
|
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 ResetPasswordRequest()
public ResetPasswordRequest(ResetPasswordRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Redis instance IDpublic String getPassword()
public void setPassword(String Password)
Password
- Password reset (this parameter can be left blank when switching to password-free instance mode and is required in other cases)public Boolean getNoAuth()
public void setNoAuth(Boolean NoAuth)
NoAuth
- Whether to switch to password-free instance mode. false: switch to password-enabled instance mode; true: switch to password-free instance mode. Default value: false.Copyright © 2023. All rights reserved.