Class CreateAccountsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.CreateAccountsRequest
-
public class CreateAccountsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateAccountsRequest()CreateAccountsRequest(CreateAccountsRequest 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 Account[]getAccounts()Get 云数据库账号。StringgetDescription()Get 备注信息。StringgetInstanceId()Get 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。LonggetMaxUserConnections()Get 新账户最大可用连接数,默认值为10240,最大可设置值为10240。StringgetPassword()Get 新账户的密码。voidsetAccounts(Account[] Accounts)Set 云数据库账号。voidsetDescription(String Description)Set 备注信息。voidsetInstanceId(String InstanceId)Set 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。voidsetMaxUserConnections(Long MaxUserConnections)Set 新账户最大可用连接数,默认值为10240,最大可设置值为10240。voidsetPassword(String Password)Set 新账户的密码。voidtoMap(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
-
CreateAccountsRequest
public CreateAccountsRequest()
-
CreateAccountsRequest
public CreateAccountsRequest(CreateAccountsRequest 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
-
getInstanceId
public String getInstanceId()
Get 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。- Returns:
- InstanceId 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。- Parameters:
InstanceId- 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
-
getAccounts
public Account[] getAccounts()
Get 云数据库账号。- Returns:
- Accounts 云数据库账号。
-
setAccounts
public void setAccounts(Account[] Accounts)
Set 云数据库账号。- Parameters:
Accounts- 云数据库账号。
-
getPassword
public String getPassword()
Get 新账户的密码。- Returns:
- Password 新账户的密码。
-
setPassword
public void setPassword(String Password)
Set 新账户的密码。- Parameters:
Password- 新账户的密码。
-
getDescription
public String getDescription()
Get 备注信息。- Returns:
- Description 备注信息。
-
setDescription
public void setDescription(String Description)
Set 备注信息。- Parameters:
Description- 备注信息。
-
getMaxUserConnections
public Long getMaxUserConnections()
Get 新账户最大可用连接数,默认值为10240,最大可设置值为10240。- Returns:
- MaxUserConnections 新账户最大可用连接数,默认值为10240,最大可设置值为10240。
-
setMaxUserConnections
public void setMaxUserConnections(Long MaxUserConnections)
Set 新账户最大可用连接数,默认值为10240,最大可设置值为10240。- Parameters:
MaxUserConnections- 新账户最大可用连接数,默认值为10240,最大可设置值为10240。
-
-