public class ModifyClusterPasswordRequest extends AbstractModel
Constructor and Description |
---|
ModifyClusterPasswordRequest() |
ModifyClusterPasswordRequest(ModifyClusterPasswordRequest 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 |
getClusterId()
Get ID of the cluster for which to modify the password
|
String |
getMode()
Get Update mode.
|
String |
getNewPassword()
Get New cluster password, which must contain lowercase letters (a-z), uppercase letters (A-Z), and digits (0-9).
|
String |
getOldPassword()
Get Old cluster password
|
String |
getOldPasswordExpireTime()
Get Expected expiration time of old cluster password
|
void |
setClusterId(String ClusterId)
Set ID of the cluster for which to modify the password
|
void |
setMode(String Mode)
Set Update mode.
|
void |
setNewPassword(String NewPassword)
Set New cluster password, which must contain lowercase letters (a-z), uppercase letters (A-Z), and digits (0-9).
|
void |
setOldPassword(String OldPassword)
Set Old cluster password
|
void |
setOldPasswordExpireTime(String OldPasswordExpireTime)
Set Expected expiration time of old cluster password
|
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 ModifyClusterPasswordRequest()
public ModifyClusterPasswordRequest(ModifyClusterPasswordRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- ID of the cluster for which to modify the passwordpublic String getOldPassword()
public void setOldPassword(String OldPassword)
OldPassword
- Old cluster passwordpublic String getOldPasswordExpireTime()
public void setOldPasswordExpireTime(String OldPasswordExpireTime)
OldPasswordExpireTime
- Expected expiration time of old cluster passwordpublic String getNewPassword()
public void setNewPassword(String NewPassword)
NewPassword
- New cluster password, which must contain lowercase letters (a-z), uppercase letters (A-Z), and digits (0-9).public String getMode()
public void setMode(String Mode)
Mode
- Update mode. 1: updates password, 2: updates old password expiration time. Default value: 1Copyright © 2023. All rights reserved.