public class ModifyInstanceAccountRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstanceAccountRequest() |
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 Sub-account 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 Sub-account 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 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
- Sub-account routing policy. Enter `master` to route to the primary node or `slave` to route to the secondary nodepublic String getPrivilege()
public void setPrivilege(String Privilege)
Privilege
- Sub-account read/write policy. Enter `r` for read-only, `w` for write-only, or `rw` for read/writepublic 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-freeCopyright © 2020. All rights reserved.