Class DBCreateInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sqlserver.v20180328.models.DBCreateInfo
-
public class DBCreateInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DBCreateInfo()DBCreateInfo(DBCreateInfo 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 AccountPrivilege[]getAccounts()Get 数据库账号权限信息StringgetCharset()Get 字符集。可通过接口DescribeDBCharsets查到支持的字符集,不填默认为Chinese_PRC_CI_AS。StringgetDBName()Get 数据库名StringgetRemark()Get 备注voidsetAccounts(AccountPrivilege[] Accounts)Set 数据库账号权限信息voidsetCharset(String Charset)Set 字符集。可通过接口DescribeDBCharsets查到支持的字符集,不填默认为Chinese_PRC_CI_AS。voidsetDBName(String DBName)Set 数据库名voidsetRemark(String Remark)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
-
DBCreateInfo
public DBCreateInfo()
-
DBCreateInfo
public DBCreateInfo(DBCreateInfo 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
-
getDBName
public String getDBName()
Get 数据库名- Returns:
- DBName 数据库名
-
setDBName
public void setDBName(String DBName)
Set 数据库名- Parameters:
DBName- 数据库名
-
getCharset
public String getCharset()
Get 字符集。可通过接口DescribeDBCharsets查到支持的字符集,不填默认为Chinese_PRC_CI_AS。- Returns:
- Charset 字符集。可通过接口DescribeDBCharsets查到支持的字符集,不填默认为Chinese_PRC_CI_AS。
-
setCharset
public void setCharset(String Charset)
Set 字符集。可通过接口DescribeDBCharsets查到支持的字符集,不填默认为Chinese_PRC_CI_AS。- Parameters:
Charset- 字符集。可通过接口DescribeDBCharsets查到支持的字符集,不填默认为Chinese_PRC_CI_AS。
-
getAccounts
public AccountPrivilege[] getAccounts()
Get 数据库账号权限信息- Returns:
- Accounts 数据库账号权限信息
-
setAccounts
public void setAccounts(AccountPrivilege[] Accounts)
Set 数据库账号权限信息- Parameters:
Accounts- 数据库账号权限信息
-
getRemark
public String getRemark()
Get 备注- Returns:
- Remark 备注
-
setRemark
public void setRemark(String Remark)
Set 备注- Parameters:
Remark- 备注
-
-