Class NewAccount
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cynosdb.v20190107.models.NewAccount
-
public class NewAccount extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description NewAccount()
NewAccount(NewAccount 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccountName()
Get 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30String
getAccountPassword()
Get 密码,密码长度范围为8到64个字符String
getDescription()
Get 描述String
getHost()
Get 主机(%或ipv4地址)Long
getMaxUserConnections()
Get 用户最大连接数,不能大于10240void
setAccountName(String AccountName)
Set 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30void
setAccountPassword(String AccountPassword)
Set 密码,密码长度范围为8到64个字符void
setDescription(String Description)
Set 描述void
setHost(String Host)
Set 主机(%或ipv4地址)void
setMaxUserConnections(Long MaxUserConnections)
Set 用户最大连接数,不能大于10240void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
NewAccount
public NewAccount()
-
NewAccount
public NewAccount(NewAccount 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.
-
-
Method Detail
-
getAccountName
public String getAccountName()
Get 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30- Returns:
- AccountName 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30
-
setAccountName
public void setAccountName(String AccountName)
Set 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30- Parameters:
AccountName
- 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30
-
getAccountPassword
public String getAccountPassword()
Get 密码,密码长度范围为8到64个字符- Returns:
- AccountPassword 密码,密码长度范围为8到64个字符
-
setAccountPassword
public void setAccountPassword(String AccountPassword)
Set 密码,密码长度范围为8到64个字符- Parameters:
AccountPassword
- 密码,密码长度范围为8到64个字符
-
getHost
public String getHost()
Get 主机(%或ipv4地址)- Returns:
- Host 主机(%或ipv4地址)
-
setHost
public void setHost(String Host)
Set 主机(%或ipv4地址)- Parameters:
Host
- 主机(%或ipv4地址)
-
getDescription
public String getDescription()
Get 描述- Returns:
- Description 描述
-
setDescription
public void setDescription(String Description)
Set 描述- Parameters:
Description
- 描述
-
getMaxUserConnections
public Long getMaxUserConnections()
Get 用户最大连接数,不能大于10240- Returns:
- MaxUserConnections 用户最大连接数,不能大于10240
-
setMaxUserConnections
public void setMaxUserConnections(Long MaxUserConnections)
Set 用户最大连接数,不能大于10240- Parameters:
MaxUserConnections
- 用户最大连接数,不能大于10240
-
-