public class ModifyInstanceAccountRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstanceAccountRequest() |
ModifyInstanceAccountRequest(ModifyInstanceAccountRequest 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 |
getAccountName()
Get Sub-account name.
|
String |
getAccountPassword()
Get Sub-account password
|
String |
getInstanceId()
Get Instance ID
|
Boolean |
getNoAuth()
Get true: make the root account password-free.
|
String |
getPrivilege()
Get Sub-account read/write policy.
|
String[] |
getReadonlyPolicy()
Get Routing policy.
|
String |
getRemark()
Get Sub-account description information
|
void |
setAccountName(String AccountName)
Set Sub-account name.
|
void |
setAccountPassword(String AccountPassword)
Set Sub-account password
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setNoAuth(Boolean NoAuth)
Set true: make the root account password-free.
|
void |
setPrivilege(String Privilege)
Set Sub-account read/write policy.
|
void |
setReadonlyPolicy(String[] ReadonlyPolicy)
Set Routing policy.
|
void |
setRemark(String Remark)
Set Sub-account description information
|
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 ModifyInstanceAccountRequest()
public ModifyInstanceAccountRequest(ModifyInstanceAccountRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getAccountName()
public void setAccountName(String AccountName)
AccountName
- Sub-account name. If the root account is to be modified, enter `root`.public String getAccountPassword()
public void setAccountPassword(String AccountPassword)
AccountPassword
- Sub-account passwordpublic String getRemark()
public void setRemark(String Remark)
Remark
- Sub-account description informationpublic String[] getReadonlyPolicy()
public void setReadonlyPolicy(String[] ReadonlyPolicy)
ReadonlyPolicy
- Routing policy. Valid values: master (master node); replication (replica node)public String getPrivilege()
public void setPrivilege(String Privilege)
Privilege
- Sub-account read/write policy. Valid values: r (read-only); w (write-only); rw (read/write).public Boolean getNoAuth()
public void setNoAuth(Boolean NoAuth)
NoAuth
- true: make the root account password-free. This is applicable to root accounts only. Sub-accounts cannot be made password-free.Copyright © 2023. All rights reserved.