public class CreateInstanceAccountRequest extends AbstractModel
header, skipSign
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 Custom the name of the database to access.
|
String |
getAccountPassword()
Get Set a password for the customized account.
|
String |
getInstanceId()
Get Instance ID.
|
String |
getPrivilege()
Get The read/write permission of the account supports the selection of read-only and read/write permissions.
|
String[] |
getReadonlyPolicy()
Get The read requests for the designated account are routed to either the master node or replica nodes.
|
String |
getRemark()
Get Sub-account description information, with a length of [0, 64] bytes, supports Chinese characters.
|
void |
setAccountName(String AccountName)
Set Custom the name of the database to access.
|
void |
setAccountPassword(String AccountPassword)
Set Set a password for the customized account.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setPrivilege(String Privilege)
Set The read/write permission of the account supports the selection of read-only and read/write permissions.
|
void |
setReadonlyPolicy(String[] ReadonlyPolicy)
Set The read requests for the designated account are routed to either the master node or replica nodes.
|
void |
setRemark(String Remark)
Set Sub-account description information, with a length of [0, 64] bytes, supports Chinese characters.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateInstanceAccountRequest()
public CreateInstanceAccountRequest(CreateInstanceAccountRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public String getAccountName()
public void setAccountName(String AccountName)
AccountName
- Custom the name of the database to access.
- Contains only letters, digits, underscores, and hyphens.
- The length cannot exceed 32 characters.public String getAccountPassword()
public void setAccountPassword(String AccountPassword)
AccountPassword
- Set a password for the customized account. The password complexity requirements are as follows:
- Value range: [8, 32].
- Contains at least two types of characters from the following categories: lowercase letters, uppercase letters, digits, and characters ()`~!@#$%^&*-+=_|{}[]:;<>,.? /.- Cannot start with "/".public String[] getReadonlyPolicy()
public void setReadonlyPolicy(String[] ReadonlyPolicy)
ReadonlyPolicy
- The read requests for the designated account are routed to either the master node or replica nodes. If the Read-Only Replica is not enabled, the selection of replica nodes is not supported.
- master: Master node.- replication: Replica node.public String getPrivilege()
public void setPrivilege(String Privilege)
Privilege
- The read/write permission of the account supports the selection of read-only and read/write permissions.
- r: read-only
- rw: Read/Write permission.public String getRemark()
public void setRemark(String Remark)
Remark
- Sub-account description information, with a length of [0, 64] bytes, supports Chinese characters.Copyright © 2024. All rights reserved.