public class CreateAccountRequest extends AbstractModel
Constructor and Description |
---|
CreateAccountRequest() |
CreateAccountRequest(CreateAccountRequest 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 |
---|---|
Long |
getDelayThresh()
Get 根据传入时间判断备机不可用
|
String |
getDescription()
Get 账号备注,可以包含中文、英文字符、常见符号和数字,长度为0~256字符
|
String |
getHost()
Get 可以登录的主机,与mysql 账号的 host 格式一致,可以支持通配符,例如 %,10.%,10.20.%。
|
String |
getInstanceId()
Get 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
String |
getPassword()
Get 账号密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。
|
Long |
getReadOnly()
Get 是否创建为只读账号,0:否, 1:该账号的sql请求优先选择备机执行,备机不可用时选择主机执行,2:优先选择备机执行,备机不可用时操作失败。
|
String |
getUserName()
Get 登录用户名,由字母、数字、下划线和连字符组成,长度为1~32位。
|
void |
setDelayThresh(Long DelayThresh)
Set 根据传入时间判断备机不可用
|
void |
setDescription(String Description)
Set 账号备注,可以包含中文、英文字符、常见符号和数字,长度为0~256字符
|
void |
setHost(String Host)
Set 可以登录的主机,与mysql 账号的 host 格式一致,可以支持通配符,例如 %,10.%,10.20.%。
|
void |
setInstanceId(String InstanceId)
Set 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
void |
setPassword(String Password)
Set 账号密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。
|
void |
setReadOnly(Long ReadOnly)
Set 是否创建为只读账号,0:否, 1:该账号的sql请求优先选择备机执行,备机不可用时选择主机执行,2:优先选择备机执行,备机不可用时操作失败。
|
void |
setUserName(String UserName)
Set 登录用户名,由字母、数字、下划线和连字符组成,长度为1~32位。
|
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 CreateAccountRequest()
public CreateAccountRequest(CreateAccountRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。public String getUserName()
public void setUserName(String UserName)
UserName
- 登录用户名,由字母、数字、下划线和连字符组成,长度为1~32位。public String getHost()
public void setHost(String Host)
Host
- 可以登录的主机,与mysql 账号的 host 格式一致,可以支持通配符,例如 %,10.%,10.20.%。public String getPassword()
public void setPassword(String Password)
Password
- 账号密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。public Long getReadOnly()
public void setReadOnly(Long ReadOnly)
ReadOnly
- 是否创建为只读账号,0:否, 1:该账号的sql请求优先选择备机执行,备机不可用时选择主机执行,2:优先选择备机执行,备机不可用时操作失败。public String getDescription()
public void setDescription(String Description)
Description
- 账号备注,可以包含中文、英文字符、常见符号和数字,长度为0~256字符public Long getDelayThresh()
public void setDelayThresh(Long DelayThresh)
DelayThresh
- 根据传入时间判断备机不可用Copyright © 2021. All rights reserved.