public class CreateInstanceAccountRequest extends AbstractModel
Constructor and Description |
---|
CreateInstanceAccountRequest() |
CreateInstanceAccountRequest(CreateInstanceAccountRequest 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 1.
|
String |
getInstanceId()
Get Instance ID
|
String |
getPrivilege()
Get 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 1.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setPrivilege(String Privilege)
Set 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 CreateInstanceAccountRequest()
public CreateInstanceAccountRequest(CreateInstanceAccountRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getAccountName()
public void setAccountName(String AccountName)
AccountName
- Sub-account namepublic String getAccountPassword()
public void setAccountPassword(String AccountPassword)
AccountPassword
- 1. The password must contain 8–30 characters. A password of 12 or more characters is recommended.
2. It cannot start with a slash (/).
3. It must contain characters in at least two of the following types:
a. Lowercase letters (a–z)
b. Uppercase letters (A–Z)
c. Digits (0–9)
d. ()`~!@#$%^&*-+=_|{}[]:;<>,.?/public 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
- Read/Write policy. Valid values: r (read-only); rw (read/write).public String getRemark()
public void setRemark(String Remark)
Remark
- Sub-account description informationCopyright © 2023. All rights reserved.